共用方式為


DesignerWindowPane.GetAutomationObject(String) Method

Definition

Gets the automation object for this window pane.

protected:
 virtual System::Object ^ GetAutomationObject(System::String ^ propName);
protected:
 virtual Platform::Object ^ GetAutomationObject(Platform::String ^ propName);
 virtual winrt::Windows::Foundation::IInspectable GetAutomationObject(std::wstring const & propName);
protected virtual object GetAutomationObject (string propName);
abstract member GetAutomationObject : string -> obj
override this.GetAutomationObject : string -> obj
Protected Overridable Function GetAutomationObject (propName As String) As Object

Parameters

propName
String

The name of the automation object. This can be null or an empty string.

Returns

The automation object, or null.

Applies to