DataMemberAttribute Properties
Collapse the table of content
Expand the table of content

DataMemberAttribute Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The DataMemberAttribute type exposes the following members.

  NameDescription
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 whether the member must be present in the serialized data when it is being 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.
Top

Show:
© 2017 Microsoft