Partager via


IVsWritableSettingsStore.GetPropertyType Method (String, String, UInt32%)

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

    [in] The path of the collection.

  • propertyName
    Type: String

    [in] The property name.

  • type
    Type: UInt32%

    [out] The property type.

Return Value

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

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

GetPropertyType Overload

Microsoft.VisualStudio.Shell.Interop Namespace