SettingsStore.GetPropertyNames Method

Returns the names of properties under the given collection.

Namespace:  Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

‘선언
Public MustOverride Function GetPropertyNames ( _
    collectionPath As String _
) As IEnumerable(Of String)
‘사용 방법
Dim instance As SettingsStore
Dim collectionPath As String
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetPropertyNames(collectionPath)
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

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

See Also

Reference

SettingsStore Class

SettingsStore Members

Microsoft.VisualStudio.Settings Namespace