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.

C#
public BitmapEffectCollection();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

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.

C#
public BitmapEffectCollection(System.Collections.Generic.IEnumerable<System.Windows.Media.Effects.BitmapEffect> collection);

Parameters

collection
IEnumerable<BitmapEffect>

The collection used for initialization.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

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.

C#
public BitmapEffectCollection(int capacity);

Parameters

capacity
Int32

The initial capacity of the collection.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10