Partilhar via


WritableSettingsStore.SetUInt32(String, String, UInt32) Method

Definition

Updates the value of the specified property to the given unsigned integer value while setting its data type to Int32. If the previous data type of the property is different, it overwrites it. If the property does not exist it creates one.

public:
 abstract void SetUInt32(System::String ^ collectionPath, System::String ^ propertyName, System::UInt32 value);
public:
 abstract void SetUInt32(Platform::String ^ collectionPath, Platform::String ^ propertyName, unsigned int value);
 abstract void SetUInt32(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned int value);
public abstract void SetUInt32 (string collectionPath, string propertyName, uint value);
abstract member SetUInt32 : string * string * uint32 -> unit
Public MustOverride Sub SetUInt32 (collectionPath As String, propertyName As String, value As UInteger)

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

value
UInt32

New value of the property.

Exceptions

If the collection does not exist, this exception is thrown.

Remarks

This method is safe to access from any thread.

Applies to