NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Formatter.WriteObjectRef

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

[Visual Basic]
MustOverride Protected Sub WriteObjectRef( _
   ByVal obj As Object, _
   ByVal name As String, _
   ByVal memberType As Type _
)
[C#]
protected abstract void WriteObjectRef(
   object obj,
   string name,
   Type memberType
);
[C++]
protected: virtual void WriteObjectRef(
   Object* obj,
   String* name,
   Type* memberType
) = 0;
[JScript]
protected abstract function WriteObjectRef(
   obj : Object,
   name : String,
   memberType : Type
);

Parameters

obj
The object reference to be written.
name
The name of the member.
memberType
The type of object to which the reference points.

Remarks

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

See Also

Formatter Class | Formatter Members | System.Runtime.Serialization Namespace