AutomationElement.AutomationElementInformation.ClassName 屬性

定義

取得的字串包含控制項開發人員指定之項目的類別名稱。Gets a string containing the class name of the element as assigned by the control developer.

public:
 property System::String ^ ClassName { System::String ^ get(); };
public string ClassName { get; }
member this.ClassName : string
Public ReadOnly Property ClassName As String

屬性值

String

控制項開發人員指定的類別名稱。The class name assigned by the control developer.

備註

這個屬性的值與執行相依。The value of this property is implementation-dependent. 屬性在測試環境中很有用。The property is useful in testing environments.

如需詳細資訊,請參閱ClassNamePropertyFor more information, see ClassNameProperty.

適用於