克隆所有节点和链接级别的许多离开这些节点的。
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
Public Sub ImportSubset ( _
nodes As IEnumerable(Of GraphNode), _
hideOtherNodes As Boolean, _
levels As Integer _
)
public void ImportSubset(
IEnumerable<GraphNode> nodes,
bool hideOtherNodes,
int levels
)
public:
void ImportSubset(
IEnumerable<GraphNode^>^ nodes,
bool hideOtherNodes,
int levels
)
member ImportSubset :
nodes:IEnumerable<GraphNode> *
hideOtherNodes:bool *
levels:int -> unit
public function ImportSubset(
nodes : IEnumerable<GraphNode>,
hideOtherNodes : boolean,
levels : int
)
参数
- nodes
类型:System.Collections.Generic.IEnumerable<GraphNode>
克隆的节点列表。
- hideOtherNodes
类型:System.Boolean
是否标记指示设置此克隆复制处理的所有辅助节点隐藏的可见性。
- levels
类型:System.Int32
多少包括的更多间接寻址。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。