Edit

Share via


Formatter.WriteValueType(Object, String, Type) Method

Definition

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)

Parameters

obj
Object

The object representing the value type.

name
String

The name of the member.

memberType
Type

The Type of the value type.

Notes to Implementers

You must implement this method in a derived class.

Applies to

See also