Επεξεργασία

Κοινή χρήση μέσω


XmlSerializerFormatAttribute.Style Property

Definition

Gets or sets the SOAP style of the XmlSerializer.

public:
 property System::ServiceModel::OperationFormatStyle Style { System::ServiceModel::OperationFormatStyle get(); void set(System::ServiceModel::OperationFormatStyle value); };
public System.ServiceModel.OperationFormatStyle Style { get; set; }
member this.Style : System.ServiceModel.OperationFormatStyle with get, set
Public Property Style As OperationFormatStyle

Property Value

One of the OperationFormatStyle values. The default is Document.

Examples

For a complete example, see Setting the Use and Style Properties.

Remarks

The Style and Use properties affect how messages are formatted.

Applies to