PointCollection::Remove Method (Point)

 

Removes the first occurrence of the specified Point from the PointCollection.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual bool Remove(
	Point value
) sealed

Parameters

value
Type: System.Windows::Point

The Point to remove from the PointCollection.

Return Value

Type: System::Boolean

true if value was removed from the PointCollection; otherwise, false.

Exception Condition
NotSupportedException

The PointCollection is read-only.

- or -

The PointCollection has a fixed size.

.NET Framework
Available since 3.0
Return to top
Show: