共用方式為


AutomationElementIdentifiers.ControlTypeProperty 屬性

定義

識別控制項類型自動化屬性。 GetAutomationControlType方法會傳回控制項類型屬性值。

public:
 static property AutomationProperty ^ ControlTypeProperty { AutomationProperty ^ get(); };
static AutomationProperty ControlTypeProperty();
public static AutomationProperty ControlTypeProperty { get; }
var automationProperty = AutomationElementIdentifiers.controlTypeProperty;
Public Shared ReadOnly Property ControlTypeProperty As AutomationProperty

屬性值

自動化屬性識別碼。

適用於