Condividi tramite


GraphEnumerable.AsNodes(IEnumerable<GraphObject>) Method

Definition

Converts the given GraphObjects into GraphNodes. Groups are converted to nodes. No links are returned.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphNode ^> ^ AsNodes(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphObject ^> ^ objects);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphEnumerable+<AsNodes>d__0))]
public static System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphNode> AsNodes (this System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphObject> objects);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphEnumerable+<AsNodes>d__0))>]
static member AsNodes : seq<Microsoft.VisualStudio.GraphModel.GraphObject> -> seq<Microsoft.VisualStudio.GraphModel.GraphNode>
<Extension()>
Public Iterator Function AsNodes (objects As IEnumerable(Of GraphObject)) As IEnumerable(Of GraphNode)

Parameters

Returns

All the nodes in the collection.

Attributes

Applies to