Share via


DataMemberAttribute Members

The following tables list the members exposed by the DataMemberAttribute type.

Public Constructors

Name Description
Public Method DataMemberAttribute Initializes a new instance of the DataMemberAttribute class.

Public Properties

Name Description
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 IsAttribute Indicates whether the item is an attribute.
Public Property IsNillable Indicates whether to enforce nillable schema attibute validation.
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 Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

DataMemberAttribute Class
Ws.Services.Serialization Namespace