共用方式為


SettingsStore Class

Abstract class for reading or enumerating the selected scope's collections and properties. It is obtained from GetReadOnlySettingsStore() method.

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

Syntax

'宣告
Public MustInherit Class SettingsStore
'用途
Dim instance As SettingsStore
public abstract class SettingsStore
public ref class SettingsStore abstract
[<AbstractClassAttribute>]
type SettingsStore =  class end
public abstract class SettingsStore

Remarks

In the methods of this class, if the collection path is provided as the empty string (""), then it denotes the top level collection. If the property name is empty string, then it denotes the default property of the collection.

Collections can contain properties and sub-collections. Sub-collections paths are described with the separators like directories in the file system. Likewise, the separator is '\' (back-slash) character.

Examples

Example of a sub-collection path would be: "Root Collection\Internal Collection\Leaf Collection".

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Settings.SettingsStore
    Microsoft.VisualStudio.Settings.WritableSettingsStore

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SettingsStore Members

Microsoft.VisualStudio.Settings Namespace