This documentation is archived and is not being maintained.

Formatter.WriteObjectRef Method

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

This method is not CLS-compliant.  

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

protected abstract void WriteObjectRef (
	Object obj,
	string name,
	Type memberType
protected abstract void WriteObjectRef (
	Object obj, 
	String name, 
	Type memberType
protected abstract function WriteObjectRef (
	obj : Object, 
	name : String, 
	memberType : Type
Not applicable.



The object reference to write.


The name of the member.


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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0