IUIAutomationElement 介面 (uiautomationclient.h)

公開 UI 自動化專案的方法和屬性,表示 UI 專案。

繼承

IUIAutomationElement介面繼承自IUnknown介面。 IUIAutomationElement 也有下列類型的成員:

方法

IUIAutomationElement介面具有這些方法。

 
IUIAutomationElement::BuildUpdatedCache

擷取具有更新快取的新 UI 自動化專案。
IUIAutomationElement::FindAll

傳回滿足指定條件的所有 UI 自動化專案。
IUIAutomationElement::FindAllBuildCache

傳回滿足指定條件的所有 UI 自動化專案、預先擷取所要求的屬性和控制模式,並將預先擷取的專案儲存在快取中。
IUIAutomationElement::FindFirst

擷取符合指定條件的第一個子系或子系專案。
IUIAutomationElement::FindFirstBuildCache

擷取符合指定條件的第一個子系或子代專案、預先擷取要求的屬性和控制模式,並將預先擷取的專案儲存在快取中。
IUIAutomationElement::get_CachedAcceleratorKey

擷取專案的快取快速鍵。
IUIAutomationElement::get_CachedAccessKey

擷取專案的快取存取索引鍵字元。
IUIAutomationElement::get_CachedAriaProperties

擷取快取的 Rich Internet Applications (ARIA) 元素的屬性。
IUIAutomationElement::get_CachedAriaRole

擷取已快取的 Rich Internet Applications (ARIA) 角色。
IUIAutomationElement::get_CachedAutomationId

擷取專案的快取 Microsoft UI 自動化識別碼。
IUIAutomationElement::get_CachedBoundingRectangle

擷取完全括住專案之矩形的快取座標。
IUIAutomationElement::get_CachedClassName

擷取專案的快取類別名稱。
IUIAutomationElement::get_CachedControllerFor

擷取 UI 自動化專案的快取陣列,這個專案會做為控制器。
IUIAutomationElement::get_CachedControlType

擷取表示專案控制項類型的快取值。
IUIAutomationElement::get_CachedCulture

擷取快取值,這個值表示與 專案相關聯的文化特性。
IUIAutomationElement::get_CachedDescribedBy

擷取描述這個專案的快取專案陣列。
IUIAutomationElement::get_CachedFlowsTo

擷取表示目前專案之後讀取順序的專案快取陣列。
IUIAutomationElement::get_CachedFrameworkId

擷取與 專案相關聯之基礎 UI 架構的快取名稱。
IUIAutomationElement::get_CachedHasKeyboardFocus

表示專案是否有鍵盤焦點的快取值。
IUIAutomationElement::get_CachedHelpText

擷取專案的快取解說文字。
IUIAutomationElement::get_CachedIsContentElement

表示專案是否為內容專案的快取值。
IUIAutomationElement::get_CachedIsControlElement

擷取快取值,指出專案是否為控制項專案。
IUIAutomationElement::get_CachedIsDataValidForForm

擷取快取值,指出專案是否包含表單的有效資料。
IUIAutomationElement::get_CachedIsEnabled

擷取指出是否啟用專案的快取值。
IUIAutomationElement::get_CachedIsKeyboardFocusable

擷取快取值,指出專案是否可以接受鍵盤焦點。
IUIAutomationElement::get_CachedIsOffscreen

擷取快取值,指出專案是否為螢幕外。
IUIAutomationElement::get_CachedIsPassword

擷取快取的值,這個值表示專案是否包含偽裝的密碼。
IUIAutomationElement::get_CachedIsRequiredForForm

擷取快取值,指出是否需要在表單上填寫專案。
IUIAutomationElement::get_CachedItemStatus

擷取專案內專案狀態的快取描述。
IUIAutomationElement::get_CachedItemType

擷取快取字串,描述專案所表示的專案類型。
IUIAutomationElement::get_CachedLabeledBy

擷取包含這個專案之文字標籤的快取專案。
IUIAutomationElement::get_CachedLocalizedControlType

擷取專案的控制項類型的快取當地語系化描述。
IUIAutomationElement::get_CachedName

擷取專案的快取名稱。
IUIAutomationElement::get_CachedNativeWindowHandle

擷取專案的快取視窗控制碼。
IUIAutomationElement::get_CachedOrientation

擷取表示專案方向的快取值。
IUIAutomationElement::get_CachedProcessId

擷取裝載 專案之進程的快取識別碼。
IUIAutomationElement::get_CachedProviderDescription

擷取這個專案提供者的快取描述。
IUIAutomationElement::get_CurrentAcceleratorKey

擷取專案的快速鍵。
IUIAutomationElement::get_CurrentAccessKey

擷取 專案的便捷鍵字元。
IUIAutomationElement::get_CurrentAriaProperties

擷取專案的可存取豐富網際網路應用程式 (ARIA) 屬性。
IUIAutomationElement::get_CurrentAriaRole

擷取元素的可存取豐富網際網路應用程式 (ARIA) 角色。
IUIAutomationElement::get_CurrentAutomationId

擷取 專案的 Microsoft UI 自動化識別碼。
IUIAutomationElement::get_CurrentBoundingRectangle

擷取完全括住專案之矩形的座標。
IUIAutomationElement::get_CurrentClassName

擷取專案的類別名稱。
IUIAutomationElement::get_CurrentControllerFor

擷取這個專案做為控制器的專案陣列。
IUIAutomationElement::get_CurrentControlType

擷取專案的控制項類型。
IUIAutomationElement::get_CurrentCulture

擷取 專案的文化特性識別碼。
IUIAutomationElement::get_CurrentDescribedBy

擷取描述這個專案的專案陣列。
IUIAutomationElement::get_CurrentFlowsTo

擷取專案陣列,指出目前專案之後的讀取順序。
IUIAutomationElement::get_CurrentFrameworkId

擷取基礎 UI 架構的名稱。
IUIAutomationElement::get_CurrentHasKeyboardFocus

指出專案是否具有鍵盤焦點。
IUIAutomationElement::get_CurrentHelpText

擷取 專案的解說文字。
IUIAutomationElement::get_CurrentIsContentElement

指出專案是否為內容專案。
IUIAutomationElement::get_CurrentIsControlElement

指出專案是否為控制項專案。
IUIAutomationElement::get_CurrentIsDataValidForForm

指出專案是否包含表單的有效資料。
IUIAutomationElement::get_CurrentIsEnabled

指出是否啟用 專案。
IUIAutomationElement::get_CurrentIsKeyboardFocusable

指出專案是否可以接受鍵盤焦點。
IUIAutomationElement::get_CurrentIsOffscreen

指出專案是否為螢幕外。
IUIAutomationElement::get_CurrentIsPassword

指出專案是否包含偽裝密碼。
IUIAutomationElement::get_CurrentIsRequiredForForm

指出是否需要在表單上填寫專案。
IUIAutomationElement::get_CurrentItemStatus

擷取專案中專案狀態的描述。
IUIAutomationElement::get_CurrentItemType

擷取專案所表示之 UI 專案類型的描述。
IUIAutomationElement::get_CurrentLabeledBy

擷取包含這個專案文字標籤的專案。
IUIAutomationElement::get_CurrentLocalizedControlType

擷取專案的控制項型別當地語系化描述。
IUIAutomationElement::get_CurrentName

擷取專案的名稱。
IUIAutomationElement::get_CurrentNativeWindowHandle

擷取專案的視窗控制碼。
IUIAutomationElement::get_CurrentOrientation

擷取值,指出專案的方向。
IUIAutomationElement::get_CurrentProcessId

擷取裝載專案之進程的識別碼。
IUIAutomationElement::get_CurrentProviderDescription

擷取這個專案的提供者描述。
IUIAutomationElement::GetCachedChildren

擷取這個 UI 自動化專案的快取子專案。
IUIAutomationElement::GetCachedParent

從快取擷取這個 UI 自動化專案的父代。
IUIAutomationElement::GetCachedPattern

從快取擷取這個 UI 自動化專案之指定控制項模式的 IUnknown 介面。
IUIAutomationElement::GetCachedPatternAs

從這個 UI 自動化專案的快取中擷取指定模式的控制項模式介面。
IUIAutomationElement::GetCachedPropertyValue

從這個 UI 自動化專案的快取中擷取屬性值。
IUIAutomationElement::GetCachedPropertyValueEx

從這個 UI 自動化專案的快取中擷取屬性值,選擇性地忽略任何預設值。
IUIAutomationElement::GetClickablePoint

擷取可按一下之專案上的點。
IUIAutomationElement::GetCurrentPattern

擷取這個 UI 自動化元素上指定控制項模式的 IUnknown 介面。
IUIAutomationElement::GetCurrentPatternAs

擷取這個 UI 自動化專案上指定模式的控制項模式介面。
IUIAutomationElement::GetCurrentPropertyValue

擷取這個 UI 自動化專案的屬性目前值。
IUIAutomationElement::GetCurrentPropertyValueEx

擷取這個 UI 自動化專案的屬性值,選擇性地忽略任何預設值。
IUIAutomationElement::GetRuntimeId

擷取指派給 UI 元素的唯一識別碼。
IUIAutomationElement::SetFocus

將鍵盤焦點設定為這個 UI 自動化元素。

需求

   
最低支援的用戶端 Windows 7、Windows Vista sp2 和 Platform Update for Windows Vista、Windows XP with SP3 和 Platform Update for Windows Vista [僅限桌面應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

用戶端的 UI 自動化元素介面