Поделиться через


IVsWritableSettingsStore.GetPropertyType Method

Returns the type of a specified property.

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

Syntax

'Declaration
Function GetPropertyType ( _
    collectionPath As String, _
    propertyName As String, _
    <OutAttribute> ByRef type As UInteger _
) As Integer
int GetPropertyType(
    string collectionPath,
    string propertyName,
    out uint type
)
int GetPropertyType(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [OutAttribute] unsigned int% type
)
abstract GetPropertyType : 
        collectionPath:string * 
        propertyName:string * 
        type:uint32 byref -> int 
function GetPropertyType(
    collectionPath : String, 
    propertyName : String, 
    type : uint
) : int

Parameters

  • collectionPath
    Type: System.String
    [in] The path of the collection.

Return Value

Type: System.Int32
Returns S_OK if the property was returned or E_INVALIDARG if the property does not exist.

Implements

IVsSettingsStore.GetPropertyType(String, String, UInt32%)

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace