Compartir a través de


XmlSerializerFormatAttribute.Style Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the SOAP style of the XmlSerializer.

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

Syntax

'Declaration
Public Property Style As OperationFormatStyle
public OperationFormatStyle Style { get; set; }

Property Value

Type: System.ServiceModel.OperationFormatStyle
One of the OperationFormatStyle values. The default is Document.

Remarks

The Style property affects how messages are formatted.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.