Condividi tramite


WritableSettingsStore.SetUInt32 Method

Updates the value of the specified property to the given unsigned integer value while setting its data type to [!:SettingsType.Int32].

Namespace:  Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Dichiarazione
Public MustOverride Sub SetUInt32 ( _
    collectionPath As String, _
    propertyName As String, _
    value As UInteger _
)
'Utilizzo
Dim instance As WritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim value As UInteger

instance.SetUInt32(collectionPath, propertyName, _
    value)
public abstract void SetUInt32(
    string collectionPath,
    string propertyName,
    uint value
)
public:
virtual void SetUInt32(
    String^ collectionPath, 
    String^ propertyName, 
    unsigned int value
) abstract
abstract SetUInt32 : 
        collectionPath:string * 
        propertyName:string * 
        value:uint32 -> unit 
public abstract function SetUInt32(
    collectionPath : String, 
    propertyName : String, 
    value : uint
)

Parameters

  • collectionPath
    Type: System.String
    Path of the collection of the property.

Exceptions

Exception Condition
ArgumentException

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

Remarks

If the previous data type of the property is different, it overwrites it.

If the property does not exist, it creates one.

.NET Framework Security

See Also

Reference

WritableSettingsStore Class

WritableSettingsStore Members

Microsoft.VisualStudio.Settings Namespace