TextDecorationCollection Constructores

Definición

Inicializa una nueva instancia de la clase TextDecorationCollection.Initializes a new instance of the TextDecorationCollection class.

Sobrecargas

TextDecorationCollection()

Inicializa una nueva instancia de TextDecorationCollection que está vacía.Initializes a new TextDecorationCollection instance that is empty.

TextDecorationCollection(IEnumerable<TextDecoration>)

Inicializa una nueva instancia de la clase TextDecorationCollection especificando un enumerador.Initializes a new instance of the TextDecorationCollection class by specifying an enumerator.

TextDecorationCollection(Int32)

Inicializa una nueva instancia de TextDecorationCollection que está vacía y tiene la capacidad inicial especificada.Initializes a new TextDecorationCollection instance that is empty and has the specified initial capacity.

TextDecorationCollection()

Inicializa una nueva instancia de TextDecorationCollection que está vacía.Initializes a new TextDecorationCollection instance that is empty.

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

Se aplica a

TextDecorationCollection(IEnumerable<TextDecoration>)

Inicializa una nueva instancia de la clase TextDecorationCollection especificando un enumerador.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))

Parámetros

collection
IEnumerable<TextDecoration>

Enumerador de tipo IEnumerable<T>.An enumerator of type IEnumerable<T>.

Se aplica a

TextDecorationCollection(Int32)

Inicializa una nueva instancia de TextDecorationCollection que está vacía y tiene la capacidad inicial especificada.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)

Parámetros

capacity
Int32

Número de elementos que la nueva colección puede almacenar inicialmente.The number of elements that the new collection is initially capable of storing.

Se aplica a