XmlSerializerFormatAttribute.Style 屬性

定義

取得或設定 XmlSerializer 的 SOAP 樣式。

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

屬性值

OperationFormatStyle

其中一個 OperationFormatStyle 值。 預設為 Document

範例

如需完整範例,請參閱 設定 Use 和 Style Properties

備註

StyleUse 屬性會影響訊息的格式化方式。

適用於