GraphConditionalStyleCollection::Add Method (GraphConditionalStyle^)
Visual Studio 2015
Adds the specified style to the collection. If the given style belongs to a different graph, it clones it and returns the new style.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Parameters
- item
-
Type:
Microsoft.VisualStudio.GraphModel.Styles::GraphConditionalStyle^
The node to add.
Implements
ICollection<T>::Add(T)| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if node is null. |
| InvalidOperationException | Thrown if the unique node id already exists. |
Show: