共用方式為


ExternalSettingsManager Class

This is the gateway class to reach for the settings stored inside Visual Studio. It provides two basic functionalities. It allows searches for properties and collections inside the scopes. It hands the SettingsStore and WritableSettingsStore classes for further manipulation of the collections and properties within the scopes. This class implements the IDisposable pattern and as a result it needs to be disposed after it is no longer necessary.

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

Syntax

'宣告
Public NotInheritable Class ExternalSettingsManager _
    Inherits SettingsManager _
    Implements IDisposable
'用途
Dim instance As ExternalSettingsManager
public sealed class ExternalSettingsManager : SettingsManager, 
    IDisposable
public ref class ExternalSettingsManager sealed : public SettingsManager, 
    IDisposable
[<SealedAttribute>]
type ExternalSettingsManager =  
    class
        inherit SettingsManager
        interface IDisposable
    end
public final class ExternalSettingsManager extends SettingsManager implements IDisposable

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Settings.SettingsManager
    Microsoft.VisualStudio.Settings.ExternalSettingsManager

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

ExternalSettingsManager Members

Microsoft.VisualStudio.Settings Namespace