Share via


GraphGroup.ChildNodes Property

A collection of child nodes (excluding nodes that have IsGroup set to true).

A child node is one that is linked to a parent group via an IsContainment link.

This collection is automatically maintained as nodes are added and removed from the graph and as IsGroup properties are changed and as containment links are added or removed.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public ReadOnly Property ChildNodes As IReadOnlyCollection(Of GraphNode)
public IReadOnlyCollection<GraphNode> ChildNodes { get; }
public:
property IReadOnlyCollection<GraphNode^>^ ChildNodes {
    IReadOnlyCollection<GraphNode^>^ get ();
}
member ChildNodes : IReadOnlyCollection<GraphNode> with get
function get ChildNodes () : IReadOnlyCollection<GraphNode>

Property Value

Type: Microsoft.VisualStudio.GraphModel.IReadOnlyCollection<GraphNode>
Returns IReadOnlyCollection<T>.

.NET Framework Security

See Also

Reference

GraphGroup Class

Microsoft.VisualStudio.GraphModel Namespace