Redigera

Dela via


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.

public:
 void Add(System::Collections::Generic::IEnumerable<System::Windows::TextDecoration ^> ^ textDecorations);
[System.CLSCompliant(false)]
public void Add (System.Collections.Generic.IEnumerable<System.Windows.TextDecoration> textDecorations);
[<System.CLSCompliant(false)>]
member this.Add : seq<System.Windows.TextDecoration> -> unit
Public Sub Add (textDecorations As IEnumerable(Of TextDecoration))

Parameters

textDecorations
IEnumerable<TextDecoration>

A generic IEnumerable<T> of type TextDecoration.

Attributes

Applies to

Add(TextDecoration)

Inserts the specified TextDecoration object into the collection.

public:
 virtual void Add(System::Windows::TextDecoration ^ value);
public void Add (System.Windows.TextDecoration value);
abstract member Add : System.Windows.TextDecoration -> unit
override this.Add : System.Windows.TextDecoration -> unit
Public Sub Add (value As TextDecoration)

Parameters

value
TextDecoration

The TextDecoration object to insert.

Implements

Applies to