Formatter::WriteObjectRef Method (Object^, String^, Type^)

 

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

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

protected:
virtual void WriteObjectRef(
	Object^ obj,
	String^ name,
	Type^ memberType
) abstract

Parameters

obj
Type: System::Object^

The object reference to write.

name
Type: System::String^

The name of the member.

memberType
Type: System::Type^

The type of object the reference points to.

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

Notes to Inheritors:

You must implement this method in a derived class.

.NET Framework
Available since 1.1
Return to top
Show: