Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.GraphConditionalStyle- The style to merge. 
- index 
 Type: System.Int32- The 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.