DataMemberAttribute Properties
.NET Framework 4.5
The DataMemberAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
EmitDefaultValue | Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized. |
|
IsRequired | Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing. |
|
Name | Gets or sets a data member name. |
|
Order | Gets or sets the order of serialization and deserialization of a member. |
|
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |