SettingsStore.GetSubCollectionNames Method
Returns the names of sub-collections under the given collection.
Namespace: Microsoft.VisualStudio.Settings
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Déclaration
Public MustOverride Function GetSubCollectionNames ( _
collectionPath As String _
) As IEnumerable(Of String)
'Utilisation
Dim instance As SettingsStore
Dim collectionPath As String
Dim returnValue As IEnumerable(Of String)
returnValue = instance.GetSubCollectionNames(collectionPath)
public abstract IEnumerable<string> GetSubCollectionNames(
string collectionPath
)
public:
virtual IEnumerable<String^>^ GetSubCollectionNames(
String^ collectionPath
) abstract
abstract GetSubCollectionNames :
collectionPath:string -> IEnumerable<string>
public abstract function GetSubCollectionNames(
collectionPath : String
) : IEnumerable<String>
Parameters
- collectionPath
Type: System.String
Path of the collection.
Return Value
Type: System.Collections.Generic.IEnumerable<String>
Names of sub collections is returned.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Throws this exception if the collection does not exist. |
.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.