TextDecorationCollection Constructors
Definition
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für