Bewerken

Delen via


Formatter.WriteObjectRef(Object, String, Type) Method

Definition

When overridden in a derived class, writes an object reference to the stream already attached to the formatter.

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

Parameters

obj
Object

The object reference to write.

name
String

The name of the member.

memberType
Type

The type of object the reference points to.

Remarks

Schedules the object with the graph walker to handle the work.

Notes to Implementers

You must implement this method in a derived class.

Applies to