SerializeAbsoluteContext Class

Specifies that serializers should handle default values. This class cannot be inherited.

Namespace: System.ComponentModel.Design.Serialization
Assembly: System.Design (in

public sealed class SerializeAbsoluteContext
public final class SerializeAbsoluteContext
public final class SerializeAbsoluteContext
Not applicable.

The ComponentSerializationService supports absolute serialization. This means that instead of serializing only values that differ from an object's default values, all values are serialized, allowing values to be reset to their defaults for objects that may have already been initialized. When a component serialization service wishes to indicate this behavior to CodeDomSerializer objects, it will place a SerializeAbsoluteContext object on the context stack. The member in this context may be a null reference (Nothing in Visual Basic), to indicate that all members are serialized, or it can indicate that only a specific member is being serialized at this time.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Community Additions