共用方式為


ProvideOptionPageAttribute.SupportsAutomation Property

Gets whether a Tools Options page implementation supports automation.

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

'宣告
Public ReadOnly Property SupportsAutomation As Boolean
    Get
'用途
Dim instance As ProvideOptionPageAttribute
Dim value As Boolean

value = instance.SupportsAutomation
public bool SupportsAutomation { get; }
public:
property bool SupportsAutomation {
    bool get ();
}
member SupportsAutomation : bool
function get SupportsAutomation () : boolean

Property Value

Type: System.Boolean
true if a Tools Options page supports the Visual Studio automation model and can be accessed through the EnvDTE mechanism.

.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