Szerkesztés

Megosztás a következőn keresztül:


TextDecorationCollection Constructors

Definition

Initializes a new instance of the TextDecorationCollection class.

Overloads

TextDecorationCollection()

Initializes a new TextDecorationCollection instance that is empty.

TextDecorationCollection(IEnumerable<TextDecoration>)

Initializes a new instance of the TextDecorationCollection class by specifying an enumerator.

TextDecorationCollection(Int32)

Initializes a new TextDecorationCollection instance that is empty and has the specified initial capacity.

TextDecorationCollection()

Initializes a new TextDecorationCollection instance that is empty.

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

Applies to

TextDecorationCollection(IEnumerable<TextDecoration>)

Initializes a new instance of the TextDecorationCollection class by specifying an enumerator.

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

Parameters

collection
IEnumerable<TextDecoration>

An enumerator of type IEnumerable<T>.

Applies to

TextDecorationCollection(Int32)

Initializes a new TextDecorationCollection instance that is empty and has the specified initial capacity.

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

Parameters

capacity
Int32

The number of elements that the new collection is initially capable of storing.

Applies to