TextDecorationCollection.Add Method

Definition

Inserts the specified TextDecoration object into the collection.

Overloads

Add(IEnumerable<TextDecoration>)

Adds a generic IEnumerable<T> to the collection.

Add(TextDecoration)

Inserts the specified TextDecoration object into the collection.

Add(IEnumerable<TextDecoration>)

Important

This API is not CLS-compliant.

Adds a generic IEnumerable<T> to the collection.

C#
[System.CLSCompliant(false)]
public void Add(System.Collections.Generic.IEnumerable<System.Windows.TextDecoration> textDecorations);

Parameters

textDecorations
IEnumerable<TextDecoration>

A generic IEnumerable<T> of type TextDecoration.

Attributes

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.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

Add(TextDecoration)

Inserts the specified TextDecoration object into the collection.

C#
public void Add(System.Windows.TextDecoration value);

Parameters

value
TextDecoration

The TextDecoration object to insert.

Implements

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.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