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
)
参数
- paths
类型:System.Collections.Generic.IList<IList<ISchemaModelViewerNode>>
要添加的节点路径。
- selectNode
类型:System.Boolean
(可选)选择节点。必要时,这会展开树。
- expand
类型:System.Boolean
选择性地展开所选节点。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空间