DrawingCollection Constructor (IEnumerable(Drawing))
Collapse the table of content
Expand the table of content

DrawingCollection Constructor (IEnumerable<Drawing>)

 

Initializes a new instance of the DrawingCollection class with the specified collection of Drawing objects.

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

public DrawingCollection(
	IEnumerable<Drawing> collection
)

Parameters

collection
Type: System.Collections.Generic.IEnumerable<Drawing>

The collection of Drawing objects that make up the DrawingCollection.

Exception Condition
ArgumentNullException

collection is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft