Condividi tramite


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
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Public Property SupportsProfiles As Boolean
    Get
    Set
'Utilizzo
Dim instance As ProvideOptionPageAttribute
Dim value As Boolean

value = instance.SupportsProfiles

instance.SupportsProfiles = value
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: System.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

ProvideOptionPageAttribute Members

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