WebHttpEndpointElement.ContentTypeMapper 属性      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 Web 服务操作所发送数据的 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 内容的名称。
- 属性