IVsWritableSettingsStore.SetInt64(String, String, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
This method is safe to access from any thread.