MimeContentBinding.Type 屬性

定義

取得或設定值,指出 HTTP 傳輸主體的格式。

public:
 property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
public string Type { get; set; }
member this.Type : string with get, set
Public Property Type As String

屬性值

字串,指出 HTTP 傳輸主體格式。 預設值為空字串 ("")。

範例

MimeContentBinding_Part_4#1

備註

Web 服務描述語言 (WSDL) 規格會定義數個 MIME 類型的系結,包括 text/xml、multipart/related 和 application/x-www-form-urlencoded,不過可以使用任何 MIME 類型。 也可以使用萬用字元 (*) 。 例如,字串 「text/*」 代表所有文字類型。 如果未設定此屬性的值,則會 MimeContentBinding 指定所有 MIME 類型。

如需 WSDL 的詳細資訊,請參閱 WSDL 規格。

適用於