GraphConditionalStyleCollection.MergeOrInsert Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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: System.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.