DiagramItemCollection.Insert(Int32, DiagramItem) Method

Definition

Inserts the DiagramItem into the collection at the specified index.

public:
 virtual void Insert(int index, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public virtual void Insert (int index, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
abstract member Insert : int * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
override this.Insert : int * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
Public Overridable Sub Insert (index As Integer, diagramItem As DiagramItem)

Parameters

index
Int32

A zero-based index.

diagramItem
DiagramItem

The DiagramItem to insert.

Applies to