語言

TextEffectCollection 建構函式

定義

初始化 TextEffectCollection 類別的新執行個體。

多載

名稱 Description
TextEffectCollection()

初始化 TextEffectCollection 類別的新執行個體。

TextEffectCollection(IEnumerable<TextEffect>)

初始化 TextEffectCollection 類別的新執行個體。

TextEffectCollection(Int32)

初始化一個 TextEffectCollection 空且具備指定初始容量的新實例。

TextEffectCollection()

初始化 TextEffectCollection 類別的新執行個體。

public:
 TextEffectCollection();
public TextEffectCollection();
Public Sub New ()

適用於

TextEffectCollection(IEnumerable<TextEffect>)

初始化 TextEffectCollection 類別的新執行個體。

public:
 TextEffectCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::TextEffect ^> ^ collection);
public TextEffectCollection(System.Collections.Generic.IEnumerable<System.Windows.Media.TextEffect> collection);
new System.Windows.Media.TextEffectCollection : seq<System.Windows.Media.TextEffect> -> System.Windows.Media.TextEffectCollection
Public Sub New (collection As IEnumerable(Of TextEffect))

參數

collection
IEnumerable<TextEffect>

一個型 IEnumerable為 的列舉子。

適用於

TextEffectCollection(Int32)

初始化一個 TextEffectCollection 空且具備指定初始容量的新實例。

public:
 TextEffectCollection(int capacity);
public TextEffectCollection(int capacity);
new System.Windows.Media.TextEffectCollection : int -> System.Windows.Media.TextEffectCollection
Public Sub New (capacity As Integer)

參數

capacity
Int32

新收藏最初能儲存的元素數量。

適用於