Compartir a través de


IVsWritableSettingsStore.GetSubCollectionCount Method (String, UInt32%)

Returns the number of sub-collections in the specified collections.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetSubCollectionCount ( _
    collectionPath As String, _
    <OutAttribute> ByRef subCollectionCount As UInteger _
) As Integer
int GetSubCollectionCount(
    string collectionPath,
    out uint subCollectionCount
)
int GetSubCollectionCount(
    [InAttribute] String^ collectionPath, 
    [OutAttribute] unsigned int% subCollectionCount
)
abstract GetSubCollectionCount : 
        collectionPath:string * 
        subCollectionCount:uint32 byref -> int
function GetSubCollectionCount(
    collectionPath : String, 
    subCollectionCount : uint
) : int

Parameters

  • collectionPath
    Type: String

    [in] The path of the collection.

  • subCollectionCount
    Type: UInt32%

    [out] The number of sub-collections.

Return Value

Type: Int32
Returns S_OK if the number of sub collections was returned.

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

GetSubCollectionCount Overload

Microsoft.VisualStudio.Shell.Interop Namespace