PointCollection Constructors
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.
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. |
Initializes a new instance of the PointCollection class.
public:
PointCollection();
public PointCollection ();
Public Sub New ()
Applies to
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: