共用方式為


ProvideOptionPageAttribute.SupportsProfiles Property

Gets or sets whether a Tools Options page implementation uses the Visual Studio settings mechanism to persist its state.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property SupportsProfiles As Boolean
public bool SupportsProfiles { get; set; }
public:
property bool SupportsProfiles {
    bool get ();
    void set (bool value);
}
member SupportsProfiles : bool with get, set
function get SupportsProfiles () : boolean 
function set SupportsProfiles (value : boolean)

Property Value

Type: Boolean
true if the Tools Options page implementation supports the use of Visual Studio settings to persist its state.

.NET Framework Security

See Also

Reference

ProvideOptionPageAttribute Class

Microsoft.VisualStudio.Shell Namespace

ProvideOptionPageAttribute

Other Resources

Options Pages

User Settings and Options

Creating Options Pages By Using Managed Package Framework Classes

Registering Custom Options Pages