CompositeCollection.Insert(Int32, Object) 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 an item in the collection at a given index. All items after the given position are moved down by one.
public:
virtual void Insert(int insertIndex, System::Object ^ insertItem);
public void Insert (int insertIndex, object insertItem);
abstract member Insert : int * obj -> unit
override this.Insert : int * obj -> unit
Public Sub Insert (insertIndex As Integer, insertItem As Object)
Parameters
- insertIndex
- Int32
The index to insert the item at.
- insertItem
- Object
The item reference to add to the collection.
Implements
Exceptions
If index is out of range.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.