共用方式為


ISchemaModelViewer.AddNodes 方法 (IList<IList<ISchemaModelViewerNode>>, Boolean, Boolean)

將節點清單加入至結構描述檢視。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Sub AddNodes ( _
    paths As IList(Of IList(Of ISchemaModelViewerNode)), _
    selectNode As Boolean, _
    expand As Boolean _
)
void AddNodes(
    IList<IList<ISchemaModelViewerNode>> paths,
    bool selectNode,
    bool expand
)
void AddNodes(
    IList<IList<ISchemaModelViewerNode^>^>^ paths, 
    bool selectNode, 
    bool expand
)
abstract AddNodes : 
        paths:IList<IList<ISchemaModelViewerNode>> * 
        selectNode:bool * 
        expand:bool -> unit 
function AddNodes(
    paths : IList<IList<ISchemaModelViewerNode>>, 
    selectNode : boolean, 
    expand : boolean
)

參數

  • selectNode
    型別:System.Boolean
    選擇性選取節點。必要時這會展開樹狀目錄。

.NET Framework 安全性

請參閱

參考

ISchemaModelViewer 介面

AddNodes 多載

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間