PointCollection Constructor (IEnumerable<Point>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: