Udostępnij za pośrednictwem


Metoda IVsSettingsStore.PropertyExists — (String, String, Int32)

 

Określa, czy istnieje właściwość w danej kolekcji.

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

Składnia

int PropertyExists(
    string collectionPath,
    string propertyName,
    out int pfExists
)
int PropertyExists(
    String^ collectionPath,
    String^ propertyName,
    [OutAttribute] int% pfExists
)
abstract PropertyExists : 
        collectionPath:string *
        propertyName:string *
        pfExists:int byref -> int
Function PropertyExists (
    collectionPath As String,
    propertyName As String,
    <OutAttribute> ByRef pfExists As Integer
) As Integer

Parametry

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

Wartość zwracana

Type: System.Int32

Zwraca S_OK , jeśli został zwrócony status właściwość.

Zobacz też

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

Powrót do początku