共用方式為


XmlSerializerFormatAttribute.Style 屬性

定義

取得或設定 SOAP 風格的 XmlSerializer

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 價值。 預設值為 Document

範例

完整範例請參見 「設定使用與風格屬性」。

備註

屬性Use會影響Style訊息的格式化。

適用於