Partager via


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

  • index
    Type: System.Int32

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

.NET Framework Security

See Also

Reference

GraphConditionalStyleCollection Class

Microsoft.VisualStudio.GraphModel.Styles Namespace