This documentation is archived and is not being maintained.

DataMemberAttribute Properties

The DataMemberAttribute type exposes the following members.

Public property EmitDefaultValue Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized.
Public property IsRequired Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.
Public property Name Gets or sets a data member name.
Public property Order Gets or sets the order of serialization and deserialization of a member.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)