DoubleCollection::Insert Method (Int32, Double)
.NET Framework (current version)
Inserts a Double into this DoubleCollection at the specified index.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- index
-
Type:
System::Int32
The index at which to insert value, the specified Double.
- value
-
Type:
System::Double
The item to insert.
Implements
IList<T>::Insert(Int32, T)| Exception | Condition |
|---|---|
| ArgumentException | value is null. |
| ArgumentOutOfRangeException | index is not a valid index in the DoubleCollection. |
| NotSupportedException |
Unlike typical implementations of IList<T>::Insert, this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.
.NET Framework
Available since 3.0
Available since 3.0
Show: