XmlSerializerFormatAttribute.Style Property


Gets or sets the SOAP style of the XmlSerializer.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public OperationFormatStyle Style { get; set; }

Property Value

Type: System.ServiceModel.OperationFormatStyle

One of the OperationFormatStyle values. The default is Document.

The Style and Use properties affect how messages are formatted.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Return to top