IObjectReference Interface
TOC
Collapse the table of content
Expand the table of content

IObjectReference Interface

 

Indicates that the current interface implementer is a reference to another object.

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

[<ComVisibleAttribute(true)>]
type IObjectReference = interface end

NameDescription
System_CAPS_pubmethodGetRealObject(StreamingContext)

Returns the real object that should be deserialized, rather than the object that the serialized stream specifies.

Notes to Implementers:

Implement this interface on objects that are references to a different object, which cannot be resolved until the current object is completely restored. During the fixup stage, any object implementing IObjectReference is queried for its real object and that object is inserted into the graph. Fixup refers to the process of finalizing references not already completed during the object deserialization process.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft