TagList.Insert(Int32, KeyValuePair<String,Object>) Метод

Определение

Вставляет элемент в коллекцию TagList по указанному индексу.

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))

Параметры

index
Int32

Отсчитываемый от нуля индекс, по которому следует вставить элемент.

item
KeyValuePair<String,Object>

Вставляемый тег.

Реализации

Исключения

index меньше 0 или index больше Count.

Применяется к