Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataMemberAttribute Properties

The DataMemberAttribute type exposes the following members.

  Name Description
Public property Supported by Portable Class Library EmitDefaultValue Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized.
Public property Supported by Portable Class Library IsRequired Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.
Public property Supported by Portable Class Library Name Gets or sets a data member name.
Public property Supported by Portable Class Library 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.)
Top
Show:
© 2015 Microsoft