共用方式為


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 命名空間