Share via


DialogPage.AutomationObject Property

Definition

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

public:
 virtual property System::Object ^ AutomationObject { System::Object ^ get(); };
public:
 virtual property Platform::Object ^ AutomationObject { Platform::Object ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual object AutomationObject { get; }
[<System.ComponentModel.Browsable(false)>]
member this.AutomationObject : obj
Public Overridable ReadOnly Property AutomationObject As Object

Property Value

An instance of the automation object, or null if no automation support is available.

Attributes

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.

Applies to