PointCollection Constructor (IEnumerable<Point>^)

 

Initializes a new instance of the PointCollection class that contains items copied from the specified collection of Point values and has the same initial capacity as the number of items copied.

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

public:
PointCollection(
	IEnumerable<Point>^ collection
)

Parameters

collection
Type: System.Collections.Generic::IEnumerable<Point>^

The collection whose items are copied to the new PointCollection.

Exception Condition
ArgumentNullException

collection is null.

.NET Framework
Available since 3.0
Return to top
Show: