TextEffectCollection.CopyTo(TextEffect[], Int32) 方法

定义

从目标数组的指定索引处开始将整个 TextEffectCollection 复制到 TextEffect 类型的一维数组中。Copies the entire TextEffectCollection to a one-dimensional array of type TextEffect, starting at the specified index of the target array.

public:
 virtual void CopyTo(cli::array <System::Windows::Media::TextEffect ^> ^ array, int index);
public void CopyTo (System.Windows.Media.TextEffect[] array, int index);
abstract member CopyTo : System.Windows.Media.TextEffect[] * int -> unit
override this.CopyTo : System.Windows.Media.TextEffect[] * int -> unit
Public Sub CopyTo (array As TextEffect(), index As Integer)

参数

array
TextEffect[]

集合项将复制到其中的数组。The array into which the collection's items are to be copied.

index
Int32

array 的索引,将从此处开始复制 TextEffectCollection 的内容。The index of array at which to start copying the contents of the TextEffectCollection.

适用于