TextDecorationCollection Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TextDecorationCollection class.
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. |
Initializes a new TextDecorationCollection instance that is empty.
public:
TextDecorationCollection();
public TextDecorationCollection();
Public Sub New ()
Applies to
.NET Framework 4.8.1 y otras versiones
Producto | Versiones |
---|---|
.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 |
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
.NET Framework 4.8.1 y otras versiones
Producto | Versiones |
---|---|
.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 |
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
.NET Framework 4.8.1 y otras versiones
Producto | Versiones |
---|---|
.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 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: