TextDecorationCollection.Add TextDecorationCollection.Add TextDecorationCollection.Add TextDecorationCollection.Add Method

定义

将指定的 TextDecoration 对象插入集合中。Inserts the specified TextDecoration object into the collection.

重载

Add(IEnumerable<TextDecoration>) Add(IEnumerable<TextDecoration>) Add(IEnumerable<TextDecoration>) Add(IEnumerable<TextDecoration>)

将一个泛型 IEnumerable<T> 添加到集合。Adds a generic IEnumerable<T> to the collection.

Add(TextDecoration) Add(TextDecoration) Add(TextDecoration) Add(TextDecoration)

将指定的 TextDecoration 对象插入集合中。Inserts the specified TextDecoration object into the collection.

Add(IEnumerable<TextDecoration>) Add(IEnumerable<TextDecoration>) Add(IEnumerable<TextDecoration>) Add(IEnumerable<TextDecoration>)

重要

此 API 不符合 CLS。

将一个泛型 IEnumerable<T> 添加到集合。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);
member this.Add : seq<System.Windows.TextDecoration> -> unit
Public Sub Add (textDecorations As IEnumerable(Of TextDecoration))

参数

textDecorations
IEnumerable<TextDecoration>

一个泛型 IEnumerable<T>,其类型为 TextDecorationA generic IEnumerable<T> of type TextDecoration.

Add(TextDecoration) Add(TextDecoration) Add(TextDecoration) Add(TextDecoration)

将指定的 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)

参数

value
TextDecoration TextDecoration TextDecoration TextDecoration

要插入的 TextDecoration 对象。The TextDecoration object to insert.

实现

适用于