ホーム › UI.Accessibility › TreeScope
TreeScope
列挙型メンバー 7
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| TreeScope_None | 0 | 0x0 | 範囲から、サブツリーを検索対象外にします。 |
| TreeScope_Element | 1 | 0x1 | 範囲に、要素自体を含めます。 |
| TreeScope_Children | 2 | 0x2 | 範囲に、要素の子を含めます。 |
| TreeScope_Descendants | 4 | 0x4 | 範囲に、要素の子およびさらに下位の子孫を含めます。 |
| TreeScope_Parent | 8 | 0x8 | 範囲に、要素の親を含めます。 |
| TreeScope_Ancestors | 16 | 0x10 | 範囲に、要素の親およびさらに上位の先祖を含めます。 |
| TreeScope_Subtree | 7 | 0x7 | 範囲に、要素とそのすべての子孫を含めます。このフラグは TreeScope_Element と TreeScope_Descendants の値を組み合わせたものです。 |
公式ドキュメント
Microsoft UI オートメーション ツリー内でのさまざまな操作の範囲を指定する値を格納します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum TreeScope : int {
TreeScope_None = 0,
TreeScope_Element = 1,
TreeScope_Children = 2,
TreeScope_Descendants = 4,
TreeScope_Parent = 8,
TreeScope_Ancestors = 16,
TreeScope_Subtree = 7
} TreeScope;public enum TreeScope : int
{
TreeScope_None = 0,
TreeScope_Element = 1,
TreeScope_Children = 2,
TreeScope_Descendants = 4,
TreeScope_Parent = 8,
TreeScope_Ancestors = 16,
TreeScope_Subtree = 7,
}Public Enum TreeScope As Integer
TreeScope_None = 0
TreeScope_Element = 1
TreeScope_Children = 2
TreeScope_Descendants = 4
TreeScope_Parent = 8
TreeScope_Ancestors = 16
TreeScope_Subtree = 7
End Enumimport enum
class TreeScope(enum.IntEnum):
TreeScope_None = 0
TreeScope_Element = 1
TreeScope_Children = 2
TreeScope_Descendants = 4
TreeScope_Parent = 8
TreeScope_Ancestors = 16
TreeScope_Subtree = 7// TreeScope
pub const TreeScope_None: i32 = 0;
pub const TreeScope_Element: i32 = 1;
pub const TreeScope_Children: i32 = 2;
pub const TreeScope_Descendants: i32 = 4;
pub const TreeScope_Parent: i32 = 8;
pub const TreeScope_Ancestors: i32 = 16;
pub const TreeScope_Subtree: i32 = 7;// TreeScope
const (
TreeScope_None int32 = 0
TreeScope_Element int32 = 1
TreeScope_Children int32 = 2
TreeScope_Descendants int32 = 4
TreeScope_Parent int32 = 8
TreeScope_Ancestors int32 = 16
TreeScope_Subtree int32 = 7
)const
TreeScope_None = 0;
TreeScope_Element = 1;
TreeScope_Children = 2;
TreeScope_Descendants = 4;
TreeScope_Parent = 8;
TreeScope_Ancestors = 16;
TreeScope_Subtree = 7;// TreeScope
pub const TreeScope_None: i32 = 0;
pub const TreeScope_Element: i32 = 1;
pub const TreeScope_Children: i32 = 2;
pub const TreeScope_Descendants: i32 = 4;
pub const TreeScope_Parent: i32 = 8;
pub const TreeScope_Ancestors: i32 = 16;
pub const TreeScope_Subtree: i32 = 7;const
TreeScope_None* = 0
TreeScope_Element* = 1
TreeScope_Children* = 2
TreeScope_Descendants* = 4
TreeScope_Parent* = 8
TreeScope_Ancestors* = 16
TreeScope_Subtree* = 7enum TreeScope : int {
TreeScope_None = 0,
TreeScope_Element = 1,
TreeScope_Children = 2,
TreeScope_Descendants = 4,
TreeScope_Parent = 8,
TreeScope_Ancestors = 16,
TreeScope_Subtree = 7,
}#define global TreeScope_None 0x0
#define global TreeScope_Element 0x1
#define global TreeScope_Children 0x2
#define global TreeScope_Descendants 0x4
#define global TreeScope_Parent 0x8
#define global TreeScope_Ancestors 0x10
#define global TreeScope_Subtree 0x7