GeneralTransformCollection 构造函数

定义

创建一个新的 GeneralTransformCollection 对象。Creates a new GeneralTransformCollection object.

重载

GeneralTransformCollection()

初始化 GeneralTransformCollection 类的新实例。Initializes a new instance of the GeneralTransformCollection class.

GeneralTransformCollection(IEnumerable<GeneralTransform>)

初始化 GeneralTransformCollection 类的新实例。Initializes a new instance of the GeneralTransformCollection class.

GeneralTransformCollection(Int32)

使用指定的容量或该集合最初可存储的 GeneralTransformCollection 对象数来初始化 GeneralTransform 类的新实例。Initializes a new instance of the GeneralTransformCollection class with the specified capacity, or the number of GeneralTransform objects the collection is initially capable of storing.

GeneralTransformCollection()

初始化 GeneralTransformCollection 类的新实例。Initializes a new instance of the GeneralTransformCollection class.

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

GeneralTransformCollection(IEnumerable<GeneralTransform>)

初始化 GeneralTransformCollection 类的新实例。Initializes a new instance of the GeneralTransformCollection class.

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

参数

collection
IEnumerable<GeneralTransform>

新的集合类中的初始对象。Initial object in the new collection class.

异常

collectionnullcollection is null.

GeneralTransformCollection(Int32)

使用指定的容量或该集合最初可存储的 GeneralTransformCollection 对象数来初始化 GeneralTransform 类的新实例。Initializes a new instance of the GeneralTransformCollection class with the specified capacity, or the number of GeneralTransform objects the collection is initially capable of storing.

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

参数

capacity
Int32

集合最初能够存储的 GeneralTransform 对象数。The number of GeneralTransform objects that the collection is initially capable of storing.

适用于