AutomationProperty.LookupById(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取一個可以封裝指定之數值識別項的 AutomationProperty。
public:
static System::Windows::Automation::AutomationProperty ^ LookupById(int id);
public static System.Windows.Automation.AutomationProperty LookupById (int id);
static member LookupById : int -> System.Windows.Automation.AutomationProperty
Public Shared Function LookupById (id As Integer) As AutomationProperty
參數
- id
- Int32
屬性識別項。
傳回
備註
一般而言,屬性是由 AutomationProperty 物件識別。 只有在已知繼承自 AutomationIdentifier) Id 的數值識別碼 (時,這個方法就可以用來建立這類物件。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應