AutomationElement.AutomationElementInformation.ClassName 屬性

定義

取得的字串包含控制項開發人員指定之項目的類別名稱。

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

屬性值

控制項開發人員指定的類別名稱。

備註

這個屬性的值與實作相依。 屬性在測試環境中很有用。

如需詳細資訊,請參閱ClassNameProperty

適用於