語言

WebHttpEndpointElement.ContentTypeMapper 屬性

定義

取得或設定網路服務操作所傳送資料的 MIME 內容類型。

public:
 property System::String ^ ContentTypeMapper { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("contentTypeMapper", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string ContentTypeMapper { get; set; }
[<System.Configuration.ConfigurationProperty("contentTypeMapper", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.ContentTypeMapper : string with get, set
Public Property ContentTypeMapper As String

屬性值

一個包含 MIME 內容名稱的字串。

屬性

適用於