GraphNodeIdCollection Constructor
Construct a GraphNodeIdCollection.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
homogeneousItems As Boolean, _
ParamArray array As GraphNodeId() _
)
public GraphNodeIdCollection(
bool homogeneousItems,
params GraphNodeId[] array
)
public:
GraphNodeIdCollection(
bool homogeneousItems,
... array<GraphNodeId^>^ array
)
new :
homogeneousItems:bool *
array:GraphNodeId[] -> GraphNodeIdCollection
public function GraphNodeIdCollection(
homogeneousItems : boolean,
... array : GraphNodeId[]
)
Parameters
homogeneousItems
Type: BooleanWhether 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
Type: array<Microsoft.VisualStudio.GraphModel.GraphNodeId[]The array of GraphNodeId's to add to this collection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.