XmlSerializerFormatAttribute.Use Property

Definition

Gets or sets a value that specifies the format to use.

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

Property Value

One of the OperationFormatUse values. The default is Literal.

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