Compartilhar via


IVsWritableSettingsStore.SetUnsignedInt(String, String, UInt32) Method

Definition

Sets the value of an unsigned integer property. If the previous data type of the property is not SettingsType_Int, this method overwrites it. If the property does not exist, it creates one.

public:
 int SetUnsignedInt(System::String ^ collectionPath, System::String ^ propertyName, System::UInt32 value);
public:
 int SetUnsignedInt(Platform::String ^ collectionPath, Platform::String ^ propertyName, unsigned int value);
int SetUnsignedInt(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned int value);
public int SetUnsignedInt (string collectionPath, string propertyName, uint value);
abstract member SetUnsignedInt : string * string * uint32 -> int
Public Function SetUnsignedInt (collectionPath As String, propertyName As String, value As UInteger) As Integer

Parameters

collectionPath
String

[in] The path to the collection.

propertyName
String

[in] The property.

value
UInt32

[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