GraphConditionalStyleCollection::Add Method (GraphConditionalStyle^)

 

Adds the specified style to the collection. If the given style belongs to a different graph, it clones it and returns the new style.

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

public:
virtual void Add(
	GraphConditionalStyle^ item
) sealed

Exception Condition
ArgumentNullException

Thrown if node is null.

InvalidOperationException

Thrown if the unique node id already exists.

Return to top
Show: