GraphEnumerable.AsNodes(IEnumerable<GraphObject>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- objects
- IEnumerable<GraphObject>
Returns
All the nodes in the collection.
- Attributes