PointCollection::Insert Method (Int32, Point)
.NET Framework (current version)
Inserts a Point into the PointCollection at the specified index.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index at which value should be inserted.
- value
-
Type:
System.Windows::Point
The Point to insert into the PointCollection.
Implements
IList<T>::Insert(Int32, T)| Exception | Condition |
|---|---|
| ArgumentException | value is null. |
| ArgumentOutOfRangeException | index is not a valid index in the PointCollection. |
| 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: