次の方法で共有


SettingsStore.GetSubCollectionCount Method

Returns the number of sub-collections under the given collection.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public MustOverride Function GetSubCollectionCount ( _
    collectionPath As String _
) As Integer
public abstract int GetSubCollectionCount(
    string collectionPath
)

Parameters

Return Value

Type: System.Int32
Number of sub-collections is returned.

Exceptions

Exception Condition
ArgumentException

Throws this exception if the collection does not exist.

.NET Framework Security

See Also

Reference

SettingsStore Class

Microsoft.VisualStudio.Settings Namespace