Freigeben über


IVsWritableSettingsStore.GetUnsignedInt64OrDefault Method (String, String, UInt64, UInt64%)

Returns a 64-bit unsigned long integer property of a given default value.

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

Syntax

'Declaration
Function GetUnsignedInt64OrDefault ( _
    collectionPath As String, _
    propertyName As String, _
    defaultValue As ULong, _
    <OutAttribute> ByRef value As ULong _
) As Integer
int GetUnsignedInt64OrDefault(
    string collectionPath,
    string propertyName,
    ulong defaultValue,
    out ulong value
)
int GetUnsignedInt64OrDefault(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [InAttribute] unsigned long long defaultValue, 
    [OutAttribute] unsigned long long% value
)
abstract GetUnsignedInt64OrDefault : 
        collectionPath:string * 
        propertyName:string * 
        defaultValue:uint64 * 
        value:uint64 byref -> int
function GetUnsignedInt64OrDefault(
    collectionPath : String, 
    propertyName : String, 
    defaultValue : ulong, 
    value : ulong
) : int

Parameters

  • collectionPath
    Type: String

    [in] The path of the collection.

  • propertyName
    Type: String

    [in] The property name.

  • defaultValue
    Type: UInt64

    [in] The default value to return if the property is not set.

  • value
    Type: UInt64%

    [out] The value.

Return Value

Type: Int32
Returns S_OK if the property was returned, S_FALSE if the property does not exist or E_INVALIDARG if the property type is not an unsigned long integer.

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

GetUnsignedInt64OrDefault Overload

Microsoft.VisualStudio.Shell.Interop Namespace