Click or drag to resize
DataMemberAttribute Class
When applied to the member of a type, specifies that the member is part of a data contract and is serializable by the System.Runtime.Serialization.DataContractSerializer.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.Runtime.SerializationDataMemberAttribute

Namespace: System.Runtime.Serialization
Assembly: CSharpXamlForHtml5.System.Runtime.Serialization.dll (in CSharpXamlForHtml5.System.Runtime.Serialization.dll.dll) Version: 1.0.0.0
Syntax
C#
public sealed class DataMemberAttribute : Attribute

The DataMemberAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDataMemberAttribute
Initializes a new instance of the System.Runtime.Serialization.DataMemberAttribute class.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyEmitDefaultValue
Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized.
Public propertyIsRequired
Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.
Public propertyName
Gets or sets a data member name.
Public propertyOrder
Gets or sets the order of serialization and deserialization of a member.
Top
See Also