Επεξεργασία

Κοινή χρήση μέσω


BitmapEffectCollection Constructors

Definition

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance of the BitmapEffectCollection class.

Overloads

BitmapEffectCollection()

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance of the BitmapEffectCollection class.

BitmapEffectCollection(IEnumerable<BitmapEffect>)

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance of the BitmapEffectCollection class using the given collection.

BitmapEffectCollection(Int32)

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance the BitmapEffectCollection class with a specified capacity, or the number of BitmapEffect objects the collection is initially capable of storing.

BitmapEffectCollection()

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance of the BitmapEffectCollection class.

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

Applies to

BitmapEffectCollection(IEnumerable<BitmapEffect>)

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance of the BitmapEffectCollection class using the given collection.

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

Parameters

collection
IEnumerable<BitmapEffect>

The collection used for initialization.

Applies to

BitmapEffectCollection(Int32)

Note: This API is now obsolete. The non-obsolete alternative is Effect. Initializes a new instance the BitmapEffectCollection class with a specified capacity, or the number of BitmapEffect objects the collection is initially capable of storing.

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

Parameters

capacity
Int32

The initial capacity of the collection.

Applies to