HierarchyTreeNode 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表有自己圖示且懂得如何處理 Explorer 階層的晚期載入節點。
public ref class HierarchyTreeNode abstract : Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::LazyNode, Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IExplorerHierarchyNode, Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::INodeWithIcon
public abstract class HierarchyTreeNode : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.LazyNode, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IExplorerHierarchyNode, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.INodeWithIcon
type HierarchyTreeNode = class
inherit LazyNode
interface IExplorerHierarchyNode
interface INodeWithIcon
Public MustInherit Class HierarchyTreeNode
Inherits LazyNode
Implements IExplorerHierarchyNode, INodeWithIcon
- 繼承
- 實作
建構函式
| 名稱 | Description |
|---|---|
| HierarchyTreeNode() |
初始化一個新的類別實例 HierarchyTreeNode ,使用預設屬性值。 |
| HierarchyTreeNode(SerializationInfo, StreamingContext) |
初始化一個包含指定資訊與上下文的新類別實例 HierarchyTreeNode 。 |
屬性
| 名稱 | Description |
|---|---|
| Expandable |
取得或設定一個值,表示節點 是否可以被擴展。 (繼承來源 LazyNode) |
| Expanding |
會顯示節點是否正在擴展。 (繼承來源 LazyNode) |
| Hierarchy |
取得或設定屬於 IExplorerHierarchy 物件的節點。 |
| Icon |
取得 HierarchyTreeNode 的正常圖示。 |
| Root |
取得階層的根源。 |
| SelectedIcon |
當該節點在樹中被選取時,會獲得圖示。 |
| ShowPolicyHealthState |
取得或設定一個值,表示政策健康狀態是否被顯示。 |
| State |
獲得保單健康狀態。 |
方法
| 名稱 | Description |
|---|---|
| CancelExpand() |
指定樹節點應該停止擴展。 (繼承來源 LazyNode) |
| EnumerateChildren() |
建立子節點並移除假節點(若有)。 (繼承來源 LazyNode) |