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

定義

當覆寫於衍生類別時,將指定型別值寫入至已附加於格式子的資料流。When overridden in a derived class, writes a value of the given type to the stream already attached to the formatter.

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

參數

obj
Object Object Object Object

表示實值型別 (Value Type) 的物件。The object representing the value type.

name
String String String String

成員的名稱。The name of the member.

memberType
Type Type Type Type

值型別的 TypeThe Type of the value type.

給繼承者的注意事項

您必須在衍生類別中執行此方法。You must implement this method in a derived class.

適用於

另請參閱