DiagramItemCollection.Insert(Int32, DiagramItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.