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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru