PointCollection.Add(Point) 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.
Adds a Point to the end of the PointCollection.
public:
virtual void Add(System::Windows::Point value);
public void Add (System.Windows.Point value);
abstract member Add : System.Windows.Point -> unit
override this.Add : System.Windows.Point -> unit
Public Sub Add (value As Point)
Parameters
- value
- Point
The Point to add to the end of the PointCollection.
Implements
Exceptions
value
is null
.
Remarks
Unlike typical implementations of ICollection<T>.Add, this implementation throws an ArgumentException if you attempt to add a null (Nothing) reference.