Compartir a través de


SettingsStore.GetPropertyNames Method

Returns the names of properties under the given collection.

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

Syntax

'Declaration
Public MustOverride Function GetPropertyNames ( _
    collectionPath As String _
) As IEnumerable(Of String)
public abstract IEnumerable<string> GetPropertyNames(
    string collectionPath
)
public:
virtual IEnumerable<String^>^ GetPropertyNames(
    String^ collectionPath
) abstract
abstract GetPropertyNames : 
        collectionPath:string -> IEnumerable<string> 
public abstract function GetPropertyNames(
    collectionPath : String
) : IEnumerable<String>

Parameters

  • collectionPath
    Type: String

    Path of the collection.

Return Value

Type: IEnumerable<String>
Names of properties are 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