SynchronizedReadOnlyCollection<T>.IList<T>.Insert 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.
Throws a NotSupportedException if called.
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
is to be inserted.
- value
- T
The object to insert into the collection.
Implements
Exceptions
Items cannot be inserted into a read-only collection.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.