This documentation is archived and is not being maintained.

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

The IObjectReference type exposes the following members.

  NameDescription
Public methodGetRealObjectReturns the real object that should be deserialized, rather than the object that the serialized stream specifies.
Top

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

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: