IVsSettingsStore.GetSubCollectionCount Method
Returns the number of sub-collections in the specified collections.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.