TreeScope 列舉

定義

包含值,這些值會指定使用者介面自動化樹狀目錄內之項目的範圍。

此列舉支援其成員值的位元組合。

public enum class TreeScope
[System.Flags]
public enum TreeScope
[<System.Flags>]
type TreeScope = 
Public Enum TreeScope
繼承
TreeScope
屬性

欄位

Ancestors 16

指定搜尋範圍包含項目的祖系,包括父代。 不支援。

Children 2

指定搜尋範圍包含項目的直接子系。

Descendants 4

指定搜尋範圍包含項目的子代,包括子系。

Element 1

指定搜尋範圍包含項目本身。

Parent 8

指定搜尋範圍包含項目的父代。 不支援。

Subtree 7

指定搜尋範圍包含搜尋的根項目和所有子代。

備註

這些值可用來指定搜尋專案、訂閱事件和快取的範圍。

適用於

另請參閱