共用方式為


Graph.GetSearchableObjects(Graph) Method

Definition

Get a flat list of all the nodes in the graph that are visible, in top down DFS group hierarchy order.

public:
 static System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphObject ^> ^ GetSearchableObjects(Microsoft::VisualStudio::GraphModel::Graph ^ graph);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.Graph+<GetSearchableObjects>d__72))]
public static System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphObject> GetSearchableObjects (Microsoft.VisualStudio.GraphModel.Graph graph);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.Graph+<GetSearchableObjects>d__72))>]
static member GetSearchableObjects : Microsoft.VisualStudio.GraphModel.Graph -> seq<Microsoft.VisualStudio.GraphModel.GraphObject>
Public Shared Iterator Function GetSearchableObjects (graph As Graph) As IEnumerable(Of GraphObject)

Parameters

graph
Graph

Returns

Attributes

Applies to