Graph.ImportSubset 方法 (IEnumerable<GraphNode>, Boolean, Int32)

克隆所有节点和链接级别的许多离开这些节点的。

命名空间:  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
)

参数

  • hideOtherNodes
    类型:System.Boolean
    是否标记指示设置此克隆复制处理的所有辅助节点隐藏的可见性。
  • levels
    类型:System.Int32
    多少包括的更多间接寻址。

.NET Framework 安全性

请参见

参考

Graph 类

ImportSubset 重载

Microsoft.VisualStudio.GraphModel 命名空间