다음을 통해 공유


IVsWritableSettingsStore.SetUnsignedInt64(String, String, UInt64) Method

Definition

Sets the value of an unsigned 64-bit integer property. If theprevious data type of the property is not SettingsType_Int64, this method overwrites it. If the property does not exist, it creates one.

public:
 int SetUnsignedInt64(System::String ^ collectionPath, System::String ^ propertyName, System::UInt64 value);
public:
 int SetUnsignedInt64(Platform::String ^ collectionPath, Platform::String ^ propertyName, unsigned long long value);
int SetUnsignedInt64(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned long value);
public int SetUnsignedInt64 (string collectionPath, string propertyName, ulong value);
abstract member SetUnsignedInt64 : string * string * uint64 -> int
Public Function SetUnsignedInt64 (collectionPath As String, propertyName As String, value As ULong) As Integer

Parameters

collectionPath
String

[in] The path to the collection.

propertyName
String

[in] The property.

value
UInt64

[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.

Applies to