Compartilhar via


IVsWritableSettingsStore.SetUnsignedInt64 Method

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.

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

Syntax

'Declaration
Function SetUnsignedInt64 ( _
    collectionPath As String, _
    propertyName As String, _
    value As ULong _
) As Integer
int SetUnsignedInt64(
    string collectionPath,
    string propertyName,
    ulong value
)
int SetUnsignedInt64(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [InAttribute] unsigned long long value
)
abstract SetUnsignedInt64 : 
        collectionPath:string * 
        propertyName:string * 
        value:uint64 -> int
function SetUnsignedInt64(
    collectionPath : String, 
    propertyName : String, 
    value : ulong
) : int

Parameters

  • collectionPath
    Type: String

    [in] The path to the collection.

  • propertyName
    Type: String

    [in] The property.

  • value
    Type: UInt64

    [in] The value.

Return Value

Type: 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