DrawingCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DrawingCollection class.
Overloads
DrawingCollection() |
Initializes a new instance of the DrawingCollection class. |
DrawingCollection(IEnumerable<Drawing>) |
Initializes a new instance of the DrawingCollection class with the specified collection of Drawing objects. |
DrawingCollection(Int32) |
Initializes a new instance of DrawingCollection with the specified capacity. |
DrawingCollection()
Initializes a new instance of the DrawingCollection class.
public:
DrawingCollection();
public DrawingCollection ();
Public Sub New ()
Applies to
DrawingCollection(IEnumerable<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>
The collection of Drawing objects that make up the DrawingCollection.
Exceptions
collection
is null
.
Applies to
DrawingCollection(Int32)
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기