Compartilhar via


IVsWritableSettingsStore.GetInt64 Method (String, String, Int64%)

Returns a 64-bit integer type property value.

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

Syntax

'Declaration
Function GetInt64 ( _
    collectionPath As String, _
    propertyName As String, _
    <OutAttribute> ByRef value As Long _
) As Integer
int GetInt64(
    string collectionPath,
    string propertyName,
    out long value
)
int GetInt64(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [OutAttribute] long long% value
)
abstract GetInt64 : 
        collectionPath:string * 
        propertyName:string * 
        value:int64 byref -> int
function GetInt64(
    collectionPath : String, 
    propertyName : String, 
    value : long
) : int

Parameters

  • collectionPath
    Type: String

    [in] The path of the collection.

  • propertyName
    Type: String

    [in] The property name.

  • value
    Type: Int64%

    [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 a 64-bit integer.

Remarks

If the property was stored as an unsigned value, then regular C++ type casting semantics are applied on the output value.

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

GetInt64 Overload

Microsoft.VisualStudio.Shell.Interop Namespace