uiAutomationType 列舉 (uiautomationcore.h)
包含用來指出 Microsoft 使用者介面自動化 資料類型的值。
Syntax
typedef enum UIAutomationType {
UIAutomationType_Int = 0x1,
UIAutomationType_Bool = 0x2,
UIAutomationType_String = 0x3,
UIAutomationType_Double = 0x4,
UIAutomationType_Point = 0x5,
UIAutomationType_Rect = 0x6,
UIAutomationType_Element = 0x7,
UIAutomationType_Array = 0x10000,
UIAutomationType_Out = 0x20000,
UIAutomationType_IntArray,
UIAutomationType_BoolArray,
UIAutomationType_StringArray,
UIAutomationType_DoubleArray,
UIAutomationType_PointArray,
UIAutomationType_RectArray,
UIAutomationType_ElementArray,
UIAutomationType_OutInt,
UIAutomationType_OutBool,
UIAutomationType_OutString,
UIAutomationType_OutDouble,
UIAutomationType_OutPoint,
UIAutomationType_OutRect,
UIAutomationType_OutElement,
UIAutomationType_OutIntArray,
UIAutomationType_OutBoolArray,
UIAutomationType_OutStringArray,
UIAutomationType_OutDoubleArray,
UIAutomationType_OutPointArray,
UIAutomationType_OutRectArray,
UIAutomationType_OutElementArray
} ;
常數
UIAutomationType_Int 值: 0x1 整數。 |
UIAutomationType_Bool 值: 0x2 布爾值。 |
UIAutomationType_String 值: 0x3 以 Null 結尾的字元字串。 |
UIAutomationType_Double 值: 0x4 雙精確度浮點數。 |
UIAutomationType_Point 值: 0x5 POINT 結構,包含點的 X 和 Y 座標。 |
UIAutomationType_Rect 值: 0x6 RECT 結構,包含矩形左上角和右下角的座標。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_Element 值: 0x7 使用者介面自動化 專案的 IUIAutomationElement 介面位址。 |
UIAutomationType_Array 值: 0x10000 未指定型別的陣列。 |
UIAutomationType_Out 值: 0x20000 接收函式所擷取之值的變數位址。 |
UIAutomationType_IntArray 整數陣列。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_BoolArray 布林值的陣列。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_StringArray Null 終止字元字串的陣列。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_DoubleArray 雙精確度浮點數的陣列。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_PointArray POINT 結構的陣列,每個結構都包含點的 x 和 Y 座標。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_RectArray RECT 結構的陣列,每個結構都包含矩形左上角和右下角的座標。 自訂 使用者介面自動化 屬性不支援此類型。 |
UIAutomationType_ElementArray IUIAutomationElement 介面的指標陣列,每個都是針對 使用者介面自動化 元素。 |
UIAutomationType_OutInt 接收整數值的變數位址。 |
UIAutomationType_OutBool 接收布爾值的變數位址。 |
UIAutomationType_OutString 接收 Null 終止字元字串之變數的位址。 |
UIAutomationType_OutDouble 接收雙精確度浮點數之變數的位址。 |
UIAutomationType_OutPoint 接收 POINT 結構的變數位址。 |
UIAutomationType_OutRect 接收 RECT 結構的變數位址。 |
UIAutomationType_OutElement 接收 使用者介面自動化 元素之 IUIAutomationElement 介面指標的變數位址。 |
UIAutomationType_OutIntArray 接收整數值數位的變數位址。 |
UIAutomationType_OutBoolArray 接收布爾值陣列之變數的位址。 |
UIAutomationType_OutStringArray 接收 Null 終止字元字串數位的變數位址。 |
UIAutomationType_OutDoubleArray 接收雙精確度浮點數陣列的變數位址。 |
UIAutomationType_OutPointArray 接收 POINT 結構陣列之變數的位址。 |
UIAutomationType_OutRectArray 接收 RECT 結構陣列的變數位址。 |
UIAutomationType_OutElementArray 接收 使用者介面自動化 元素之 IUIAutomationElement 介面指標陣列的變數位址。 |
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 7、Windows Vista SP2 和 Windows Vista 平臺更新、Windows XP SP3 和 Windows Vista 平臺更新 [傳統型應用程式 |UWP 應用程式] |
最低支援的伺服器 | Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式] |
標頭 | uiautomationcore.h (包含 UIAutomation.h) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應