GraphConditionalStyleCollection::MergeOrInsert Method (GraphConditionalStyle^, Int32)

 

Adds this style if one does not already exist with the same target type and conditions.

If one exists with the same target type and conditions, merge the setters.

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

public:
void MergeOrInsert(
	GraphConditionalStyle^ style,
	int index
)

Parameters

style
Type: Microsoft.VisualStudio.GraphModel.Styles::GraphConditionalStyle^

The style to merge.

index
Type: System::Int32

The index to insert the new style if it does not already exist.

Return to top
Show: