AutomationPeer.GetName 方法

定義

取得文字,這個文字描述與此自動化對等個體關聯的項目。Gets text that describes the element that is associated with this automation peer.

public:
 System::String ^ GetName();
public string GetName ();
member this.GetName : unit -> string
Public Function GetName () As String

傳回

String

名稱。The name.

例外狀況

目前正在公開呼叫此方法。A public call to this method is currently in progress.

備註

這個方法會呼叫的衍生實 GetNameCoreThis method calls the derived implementation of GetNameCore.

適用於