IVsWritableSettingsStore.SetInt64(String, String, Int64) Method

Definition

Sets the value of a 64-bit integer property. If the previous data type of the property is not SettingsType_Int64, it overwrites it. If the property does not exist it creates one.

public:
 int SetInt64(System::String ^ collectionPath, System::String ^ propertyName, long value);
public:
 int SetInt64(Platform::String ^ collectionPath, Platform::String ^ propertyName, long long value);
int SetInt64(std::wstring const & collectionPath, std::wstring const & propertyName, long value);
public int SetInt64 (string collectionPath, string propertyName, long value);
abstract member SetInt64 : string * string * int64 -> int
Public Function SetInt64 (collectionPath As String, propertyName As String, value As Long) As Integer

Parameters

collectionPath
String

[in] The path to the collection.

propertyName
String

[in] The property.

value
Int64

[in] The value.

Returns

Returns S_OK if the value was set. If the collection does not exist, the method returns E_INVALIDARG.

Applies to