TextEffectCollection TextEffectCollection TextEffectCollection TextEffectCollection Constructors

定义

重载

TextEffectCollection() TextEffectCollection() TextEffectCollection()

初始化 TextEffectCollection 类的新实例。Initializes a new instance of the TextEffectCollection class.

TextEffectCollection(IEnumerable<TextEffect>) TextEffectCollection(IEnumerable<TextEffect>) TextEffectCollection(IEnumerable<TextEffect>) TextEffectCollection(IEnumerable<TextEffect>)

初始化 TextEffectCollection 类的新实例。Initializes a new instance of the TextEffectCollection class.

TextEffectCollection(Int32) TextEffectCollection(Int32) TextEffectCollection(Int32) TextEffectCollection(Int32)

初始化新 TextEffectCollection 实例,该实例为空并且具有指定的初始容量。Initializes a new TextEffectCollection instance that is empty and has the specified initial capacity.

TextEffectCollection() TextEffectCollection() TextEffectCollection()

初始化 TextEffectCollection 类的新实例。Initializes a new instance of the TextEffectCollection class.

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

TextEffectCollection(IEnumerable<TextEffect>) TextEffectCollection(IEnumerable<TextEffect>) TextEffectCollection(IEnumerable<TextEffect>) TextEffectCollection(IEnumerable<TextEffect>)

初始化 TextEffectCollection 类的新实例。Initializes a new instance of the TextEffectCollection class.

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 类型的枚举数。An enumerator of type IEnumerable.

TextEffectCollection(Int32) TextEffectCollection(Int32) TextEffectCollection(Int32) TextEffectCollection(Int32)

初始化新 TextEffectCollection 实例,该实例为空并且具有指定的初始容量。Initializes a new TextEffectCollection instance that is empty and has the specified initial capacity.

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 Int32 Int32 Int32

新集合最初可存储的元素数。The number of elements that the new collection is initially capable of storing.

适用于