SerializeAbsoluteContext SerializeAbsoluteContext SerializeAbsoluteContext SerializeAbsoluteContext Class

Definition

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

public ref class SerializeAbsoluteContext sealed
public sealed class SerializeAbsoluteContext
type SerializeAbsoluteContext = class
Public NotInheritable Class SerializeAbsoluteContext
Inheritance
SerializeAbsoluteContextSerializeAbsoluteContextSerializeAbsoluteContextSerializeAbsoluteContext

Remarks

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 null, to indicate that all members are serialized, or it can indicate that only a specific member is being serialized at this time.

Constructors

SerializeAbsoluteContext() SerializeAbsoluteContext() SerializeAbsoluteContext() SerializeAbsoluteContext()

Initializes a new instance of the SerializeAbsoluteContext class.

SerializeAbsoluteContext(MemberDescriptor) SerializeAbsoluteContext(MemberDescriptor) SerializeAbsoluteContext(MemberDescriptor) SerializeAbsoluteContext(MemberDescriptor)

Initializes a new instance of the SerializeAbsoluteContext class with the option of binding to a specific member.

Properties

Member Member Member Member

Gets the member to which this context is bound.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerialize(MemberDescriptor) ShouldSerialize(MemberDescriptor) ShouldSerialize(MemberDescriptor) ShouldSerialize(MemberDescriptor)

Gets a value indicating whether the given member should be serialized in this context.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also