SettingsStore.GetPropertyNames Method
Returns the names of properties 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
'Declaração
Public MustOverride Function GetPropertyNames ( _
collectionPath As String _
) As IEnumerable(Of String)
public abstract IEnumerable<string> GetPropertyNames(
string collectionPath
)
Parameters
- collectionPath
Type: System.String
Path of the collection.
Return Value
Type: System.Collections.Generic.IEnumerable<String>
Names of properties are 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.