GraphConditionalStyleCollection.Add(GraphConditionalStyle) 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.
Adds the specified style to the collection. If the given style belongs to a different graph then it clones it and returns the new style.
public:
virtual void Add(Microsoft::VisualStudio::GraphModel::Styles::GraphConditionalStyle ^ item);
public void Add (Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle item);
abstract member Add : Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle -> unit
override this.Add : Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle -> unit
Public Sub Add (item As GraphConditionalStyle)
Parameters
Node to add
Implements
Exceptions
thrown if node is null
thrown if the unique node id already exists