ReadOnlyCollection<T>.IList<T>.Insert(Int32, T) 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 to the IList<T> at the specified index. This implementation always throws NotSupportedException.
virtual void System.Collections.Generic.IList<T>.Insert(int index, T value) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert (int index, T value);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
Sub Insert (index As Integer, value As T) Implements IList(Of T).Insert
Parameters
- index
- Int32
The zero-based index at which value
should be inserted.
- value
- T
The object to insert into the IList<T>.
Implements
Exceptions
Always thrown.
Remarks
This member is an explicit interface member implementation. It can be used only when the ReadOnlyCollection<T> instance is cast to an IList<T> interface.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre