Udostępnij za pośrednictwem


Metoda IVsWritableSettingsStore.GetSubCollectionCount — (String, UInt32)

 

Zwraca liczbę podkolekcji w określonej 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 GetSubCollectionCount(
    string collectionPath,
    out uint subCollectionCount
)
int GetSubCollectionCount(
    String^ collectionPath,
    [OutAttribute] unsigned int% subCollectionCount
)
abstract GetSubCollectionCount : 
        collectionPath:string *
        subCollectionCount:uint32 byref -> int
Function GetSubCollectionCount (
    collectionPath As String,
    <OutAttribute> ByRef subCollectionCount As UInteger
) As Integer

Parametry

  • subCollectionCount
    Type: System.UInt32

    [out] Liczba podkolekcji.

Wartość zwracana

Type: System.Int32

Zwraca S_OK Jeśli została zwrócona liczba kolekcje podrzędne.

Implementuje

IVsSettingsStore.GetSubCollectionCount(String, UInt32)

Zobacz też

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

Powrót do początku