IVsWritableSettingsStore.GetSubCollectionCount Method

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: System.String
    [in] The path of the collection.
  • subCollectionCount
    Type: System.UInt32%
    [out] The number of sub-collections.

Return Value

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

Implements

IVsSettingsStore.GetSubCollectionCount(String, UInt32%)

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace