Compartilhar via


GraphNodeIdCollection(Boolean, GraphNodeId[]) Constructor

Definition

Construct a GraphNodeIdCollection.

public:
 GraphNodeIdCollection(bool homogeneousItems, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphNodeId ^> ^ array);
public GraphNodeIdCollection (bool homogeneousItems, params Microsoft.VisualStudio.GraphModel.GraphNodeId[] array);
new Microsoft.VisualStudio.GraphModel.GraphNodeIdCollection : bool * Microsoft.VisualStudio.GraphModel.GraphNodeId[] -> Microsoft.VisualStudio.GraphModel.GraphNodeIdCollection
Public Sub New (homogeneousItems As Boolean, ParamArray array As GraphNodeId())

Parameters

homogeneousItems
Boolean

Whether the array is homogeneous (array item names are all the same so no need repeating, e.g. Name=[item1,item2,item3]) or heterogeneous - e.g (Name1=item1, Name2=item2, Name3=item3))

array
GraphNodeId[]

The array of GraphNodeId's to place into this collection

Applies to