TagList.Insert(Int32, KeyValuePair<String,Object>) Method

Definition

Inserts an element into the TagList at the specified index.

public:
 virtual void Insert(int index, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public void Insert (int index, System.Collections.Generic.KeyValuePair<string,object?> item);
abstract member Insert : int * System.Collections.Generic.KeyValuePair<string, obj> -> unit
override this.Insert : int * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Insert (index As Integer, item As KeyValuePair(Of String, Object))

Parameters

index
Int32

The zero-based index at which the item should be inserted.

item
KeyValuePair<String,Object>

The tag to insert.

Implements

Exceptions

index is less than 0 or index is greater than Count.

Applies to