System.ServiceModel 4.0.0.0 System.ServiceModel.MessageContractMemberAttribute System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.All, Inherited=false)

Use the attribute to specify that a data member is serialized into the SOAP body and to control some serialization items.

The property is used to specify the order of body parts in cases where the default alphabetical order is not appropriate.

The other properties are inherited from the base class, .

crabout controlling the serialization of the contents of a SOAP body without modifying the default SOAP envelope itself, see , Specifying Data Transfer in Service Contracts, and Data Contracts Overview.

crdefault Using Message Contracts.

Specifies that a member is serialized as an element inside the SOAP body.

- Constructor
  4.0.0.0

  See for a complete example.

  Initializes a new instance of the class.

- Property
  4.0.0.0
  System.Int32 To be added.

  Use the property to specify the location of a data member in the SOAP body element. The value is not required to be consecutive, because it does not represent the position of the member, only the sorting key.

  The order of the body elements is alphabetical by default. The semantics of this property are the same as the semantics of the property.

  Gets or sets a value that indicates the position in which the member is serialized into the SOAP body.