GraphConditionalStyleCollection.MergeOrInsert Method

Definition

Add this style if one doesn't already exist with the same target type and conditions. If one exists with the same target type and conditions then merge the setters.

public:
 void MergeOrInsert(Microsoft::VisualStudio::GraphModel::Styles::GraphConditionalStyle ^ style, int index);
public void MergeOrInsert (Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle style, int index);
member this.MergeOrInsert : Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle * int -> unit
Public Sub MergeOrInsert (style As GraphConditionalStyle, index As Integer)

Parameters

style
GraphConditionalStyle

The style to merge

index
Int32

The index to insert the new style if it doesn't already exist

Applies to