Formatter.WriteObjectRef Method

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 abstract void WriteObjectRef(
	Object obj,
	string name,
	Type memberType
)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft