FreezableCollection<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 the specified object into the FreezableCollection<T> at the specified index.
public:
virtual void Insert(int index, T value);
public void Insert (int index, T value);
abstract member Insert : int * 'T -> unit
override this.Insert : int * 'T -> unit
Public Sub Insert (index As Integer, value As T)
Parameters
- index
- Int32
The zero-based index at which value
should be inserted.
- value
- T
The object to insert.
Implements
Exceptions
value
is null
.
The FreezableCollection<T> is frozen (its IsFrozen property is true
).