GeometryCollection 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 GeometryCollection class.
Overloads
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. |
GeometryCollection()
Initializes a new instance of the GeometryCollection class.
public:
GeometryCollection();
public GeometryCollection ();
Public Sub New ()
Applies to
GeometryCollection(IEnumerable<Geometry>)
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
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.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈