IVsWritableSettingsStore.SetUnsignedInt Method

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function SetUnsignedInt ( _
    collectionPath As String, _
    propertyName As String, _
    value As UInteger _
) As Integer
int SetUnsignedInt(
    string collectionPath,
    string propertyName,
    uint value
)
int SetUnsignedInt(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [InAttribute] unsigned int value
)
abstract SetUnsignedInt : 
        collectionPath:string * 
        propertyName:string * 
        value:uint32 -> int
function SetUnsignedInt(
    collectionPath : String, 
    propertyName : String, 
    value : uint
) : int

Parameters

  • collectionPath
    Type: System.String

    [in] The path to the collection.

Return Value

Type: System.Int32
Returns S_OK if the value was set. If the collection does not exist, the method returns E_INVALIDARG.

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace