Metoda IVsSettingsStore.CollectionExists — (String, Int32)
Określa, czy istnieje 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 CollectionExists(
string collectionPath,
out int pfExists
)
int CollectionExists(
String^ collectionPath,
[OutAttribute] int% pfExists
)
abstract CollectionExists :
collectionPath:string *
pfExists:int byref -> int
Function CollectionExists (
collectionPath As String,
<OutAttribute> ByRef pfExists As Integer
) As Integer
Parametry
- collectionPath
[w] Ścieżka do kolekcji.
- pfExists
[out] Zwraca wartość true, jeśli istnieje w kolekcji.
Wartość zwracana
Type: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.
Zobacz też
Interfejs IVsSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku