Freigeben über


DialogPage.AutomationObject Property

Gets the DTE automation model object for a given instance of a dialog page class.

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

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property AutomationObject As Object
    Get
'Usage
Dim instance As DialogPage
Dim value As Object

value = instance.AutomationObject
[BrowsableAttribute(false)]
public virtual Object AutomationObject { get; }
[BrowsableAttribute(false)]
public:
virtual property Object^ AutomationObject {
    Object^ get ();
}
[<BrowsableAttribute(false)>]
abstract AutomationObject : Object
[<BrowsableAttribute(false)>]
override AutomationObject : Object
function get AutomationObject () : Object

Property Value

Type: System.Object
An instance of the automation object, or null if no automation support is available.

Remarks

AutomationObject is a read-only property.

By default, because a DialogPage implementation is a DTE automation object, this (the current object) is returned.

The properties shown by the default display mechanism and persisted by the Visual Studio settings implementation are determined by the properties of the automation object that is returned by this method. If AutomationObject returns an object other than this, the properties of that returned class, and not the properties of the implementing class, are displayed.

.NET Framework Security

See Also

Reference

DialogPage Class

DialogPage Members

Microsoft.VisualStudio.Shell Namespace

DialogPage

Other Resources

Options Pages

Toolbox (Visual Studio SDK)

State Persistence and the Visual Studio IDE