DrawingCollection Constructors

Definition

DrawingCollection 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawingCollection class.

Overloads

DrawingCollection() DrawingCollection 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawingCollection class.
DrawingCollection(IEnumerable<Drawing>)

지정된 DrawingCollection 개체 컬렉션을 사용하여 Drawing 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawingCollection class with the specified collection of Drawing objects.

DrawingCollection(Int32)

지정된 용량을 사용하여 DrawingCollection의 새 인스턴스를 초기화합니다.Initializes a new instance of DrawingCollection with the specified capacity.

DrawingCollection()

DrawingCollection 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawingCollection class.
public:
 DrawingCollection();
public DrawingCollection ();
Public Sub New ()

DrawingCollection(IEnumerable<Drawing>)

지정된 DrawingCollection 개체 컬렉션을 사용하여 Drawing 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DrawingCollection class with the specified collection of Drawing objects.

public:
 DrawingCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::Drawing ^> ^ collection);
public DrawingCollection (System.Collections.Generic.IEnumerable<System.Windows.Media.Drawing> collection);
new System.Windows.Media.DrawingCollection : seq<System.Windows.Media.Drawing> -> System.Windows.Media.DrawingCollection
Public Sub New (collection As IEnumerable(Of Drawing))

Parameters

collection
IEnumerable<Drawing>

Drawing를 구성하는 DrawingCollection 개체의 컬렉션입니다.The collection of Drawing objects that make up the DrawingCollection.

Exceptions

collectionnull입니다.collection is null.

DrawingCollection(Int32)

지정된 용량을 사용하여 DrawingCollection의 새 인스턴스를 초기화합니다.Initializes a new instance of DrawingCollection with the specified capacity.

public:
 DrawingCollection(int capacity);
public DrawingCollection (int capacity);
new System.Windows.Media.DrawingCollection : int -> System.Windows.Media.DrawingCollection
Public Sub New (capacity As Integer)

Parameters

capacity
Int32

컬렉션의 총 용량입니다.The total capacity of the collection.

Applies to