Formatter.WriteArray(Object, String, Type) Formatter.WriteArray(Object, String, Type) Formatter.WriteArray(Object, String, Type) Formatter.WriteArray(Object, String, Type) Method

定義

當覆寫於衍生類別時,將陣列寫入至已附加於格式子的資料流。When overridden in a derived class, writes an array to the stream already attached to the formatter.

protected:
 abstract void WriteArray(System::Object ^ obj, System::String ^ name, Type ^ memberType);
protected abstract void WriteArray (object obj, string name, Type memberType);
abstract member WriteArray : obj * string * Type -> unit
Protected MustOverride Sub WriteArray (obj As Object, name As String, memberType As Type)

參數

obj
Object Object Object Object

要寫入的陣列。The array to write.

name
String String String String

陣列名稱。The name of the array.

memberType
Type Type Type Type

陣列所存留的元素型別。The type of elements that the array holds.

給繼承者的注意事項

您必須在衍生類別中實作這個方法。You must implement this method in a derived class.

適用於