Udostępnij za pośrednictwem


Metoda IVsWritableSettingsStore.CollectionExists — (String, Int32)

 

Określa, czy istnieje kolekcji nazwanych.

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
    Type: System.String

    [in] Ścieżka do ustawienia.

  • pfExists
    Type: System.Int32

    [out] wartość true, jeśli istnieje w kolekcji.

Wartość zwracana

Type: System.Int32

Zwraca T:Microsoft.VisualStudio.VSConstants.S_OK, jeśli istnieje w kolekcji.

Implementuje

IVsSettingsStore.CollectionExists(String, Int32)

Zobacz też

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

Powrót do początku