GeometryCollection 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 GeometryCollection class.
GeometryCollection() |
Initializes a new instance of the GeometryCollection class. |
GeometryCollection(IEnumerable<Geometry>) |
Initializes a new instance of the GeometryCollection class with the specified collection of Geometry objects. |
GeometryCollection(Int32) |
Initializes a new instance of the GeometryCollection class with the specified capacity, or the number of Geometry objects the collection is initially capable of storing. |
Initializes a new instance of the GeometryCollection class.
public:
GeometryCollection();
public GeometryCollection();
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, 10 |
Initializes a new instance of the GeometryCollection class with the specified collection of Geometry objects.
public:
GeometryCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::Geometry ^> ^ collection);
public GeometryCollection(System.Collections.Generic.IEnumerable<System.Windows.Media.Geometry> collection);
new System.Windows.Media.GeometryCollection : seq<System.Windows.Media.Geometry> -> System.Windows.Media.GeometryCollection
Public Sub New (collection As IEnumerable(Of Geometry))
Parameters
- collection
- IEnumerable<Geometry>
The collection of Geometry objects that make up the GeometryCollection.
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, 10 |
Initializes a new instance of the GeometryCollection class with the specified capacity, or the number of Geometry objects the collection is initially capable of storing.
public:
GeometryCollection(int capacity);
public GeometryCollection(int capacity);
new System.Windows.Media.GeometryCollection : int -> System.Windows.Media.GeometryCollection
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, 10 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: