GraphConditionalStyleCollection.MergeOrInsert Method
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)
Syntax
'Declaration
Public Sub MergeOrInsert ( _
style As GraphConditionalStyle, _
index As Integer _
)
public void MergeOrInsert(
GraphConditionalStyle style,
int index
)
public:
void MergeOrInsert(
GraphConditionalStyle^ style,
int index
)
member MergeOrInsert :
style:GraphConditionalStyle *
index:int -> unit
public function MergeOrInsert(
style : GraphConditionalStyle,
index : int
)
Parameters
style
Type: Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyleThe style to merge.
index
Type: Int32The index to insert the new style if it does not already exist.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.