ערוך

שתף באמצעות


PointCollection.Add(Point) Method

Definition

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.

The PointCollection is read-only.

-or-

The PointCollection has a fixed size.

Remarks

Unlike typical implementations of ICollection<T>.Add, this implementation throws an ArgumentException if you attempt to add a null (Nothing) reference.

Applies to

See also