PointCollection 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 PointCollection class.
Overloads
PointCollection() |
Initializes a new instance of the PointCollection class. |
PointCollection(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. |
PointCollection(Int32) |
Initializes a new instance of the PointCollection class with the specified capacity. |
PointCollection()
Initializes a new instance of the PointCollection class.
public:
PointCollection();
public PointCollection ();
Public Sub New ()
Applies to
PointCollection(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.
public:
PointCollection(System::Collections::Generic::IEnumerable<System::Windows::Point> ^ collection);
public PointCollection (System.Collections.Generic.IEnumerable<System.Windows.Point> collection);
new System.Windows.Media.PointCollection : seq<System.Windows.Point> -> System.Windows.Media.PointCollection
Public Sub New (collection As IEnumerable(Of Point))
Parameters
- collection
- IEnumerable<Point>
The collection whose items are copied to the new PointCollection.
Exceptions
collection
is null
.
Applies to
PointCollection(Int32)
Initializes a new instance of the PointCollection class with the specified capacity.
public:
PointCollection(int capacity);
public PointCollection (int capacity);
new System.Windows.Media.PointCollection : int -> System.Windows.Media.PointCollection
Public Sub New (capacity As Integer)
Parameters
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應