Model3DCollection Model3DCollection Model3DCollection Model3DCollection Constructors

定義

多載

Model3DCollection() Model3DCollection() Model3DCollection()

初始化 Model3DCollection 類別的新執行個體。Initializes a new instance of the Model3DCollection class.

Model3DCollection(IEnumerable<Model3D>) Model3DCollection(IEnumerable<Model3D>) Model3DCollection(IEnumerable<Model3D>) Model3DCollection(IEnumerable<Model3D>)

使用指定的集合,初始化 Model3DCollection 類別的新執行個體。Initializes a new instance of the Model3DCollection class using the specified collection.

Model3DCollection(Int32) Model3DCollection(Int32) Model3DCollection(Int32) Model3DCollection(Int32)

初始化 Model3DCollection 類別的新執行個體,並將其容量設定為指定值。Initializes a new instance of the Model3DCollection class with the specified capacity.

Model3DCollection() Model3DCollection() Model3DCollection()

初始化 Model3DCollection 類別的新執行個體。Initializes a new instance of the Model3DCollection class.

public:
 Model3DCollection();
public Model3DCollection ();
Public Sub New ()

Model3DCollection(IEnumerable<Model3D>) Model3DCollection(IEnumerable<Model3D>) Model3DCollection(IEnumerable<Model3D>) Model3DCollection(IEnumerable<Model3D>)

使用指定的集合,初始化 Model3DCollection 類別的新執行個體。Initializes a new instance of the Model3DCollection class using the specified collection.

public:
 Model3DCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::Media3D::Model3D ^> ^ collection);
public Model3DCollection (System.Collections.Generic.IEnumerable<System.Windows.Media.Media3D.Model3D> collection);
new System.Windows.Media.Media3D.Model3DCollection : seq<System.Windows.Media.Media3D.Model3D> -> System.Windows.Media.Media3D.Model3DCollection
Public Sub New (collection As IEnumerable(Of Model3D))

參數

collection
IEnumerable<Model3D>

用來執行個體化 Model3DCollection 的集合。Collection with which to instantiate the Model3DCollection.

Model3DCollection(Int32) Model3DCollection(Int32) Model3DCollection(Int32) Model3DCollection(Int32)

初始化 Model3DCollection 類別的新執行個體,並將其容量設定為指定值。Initializes a new instance of the Model3DCollection class with the specified capacity.

public:
 Model3DCollection(int capacity);
public Model3DCollection (int capacity);
new System.Windows.Media.Media3D.Model3DCollection : int -> System.Windows.Media.Media3D.Model3DCollection
Public Sub New (capacity As Integer)

參數

capacity
Int32 Int32 Int32 Int32

指定 Model3Dcollection 容量的整數。Integer that specifies the capacity of the Model3DCollection.

適用於