DataContractFormatAttribute.Style Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the SOAP style of the serialized data.

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.

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