Udostępnij za pośrednictwem


Metoda IVsSettingsStore.GetPropertyType — (String, String, UInt32)

 

Zwraca typ określonej właściwości.

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Składnia

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

Parametry

  • collectionPath
    [w] Ścieżka kolekcji.
  • propertyName
    [w] Nazwa właściwości.
  • type
    [out] Typ właściwości.

Wartość zwracana

Type: System.Int32

Zwraca S_OK , jeśli właściwość został zwrócony lub E_INVALIDARG , jeśli właściwość nie istnieje.

Zobacz też

Interfejs IVsSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku