Rediger

Del via


TransformCollection Constructors

Definition

Initializes a new instance of the TransformCollection class.

Overloads

TransformCollection()

Initializes a new instance of the TransformCollection class.

TransformCollection(IEnumerable<Transform>)

Initializes a new instance of the TransformCollection class that contains items copied from the specified collection of Transform objects and has the same initial capacity as the number of items copied.

TransformCollection(Int32)

Initializes a new instance of the TransformCollection class with the specified capacity.

TransformCollection()

Initializes a new instance of the TransformCollection class.

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

Applies to

TransformCollection(IEnumerable<Transform>)

Initializes a new instance of the TransformCollection class that contains items copied from the specified collection of Transform objects and has the same initial capacity as the number of items copied.

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

Parameters

collection
IEnumerable<Transform>

The collection whose items are copied to the new TransformCollection.

Exceptions

collection is null.

Applies to

TransformCollection(Int32)

Initializes a new instance of the TransformCollection class with the specified capacity.

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

Parameters

capacity
Int32

The number of Transform objects that the collection is initially capable of storing.

Applies to