Udostępnij za pośrednictwem


Metoda IVsSettingsStore.GetSubCollectionCount — (String, UInt32)

 

Zwraca liczbę sub-collections 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

  • collectionPath
    [w] Ścieżka kolekcji.
  • subCollectionCount
    [out] Numer sub-collections.

Wartość zwracana

Type: System.Int32

Zwraca S_OK , jeśli liczba kolekcje sub został zwrócony.

Zobacz też

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

Powrót do początku