WebHttpEndpointElement.ContentTypeMapper 属性
定义
获取或设置 Web 服务操作所发送数据的 MIME 内容的类型。Gets or sets the type of MIME content of the data sent by a web service operations.
public:
property System::String ^ ContentTypeMapper { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("contentTypeMapper", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.StringValidator(MinLength=0)]
public string ContentTypeMapper { get; set; }
[<System.Configuration.ConfigurationProperty("contentTypeMapper", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.ContentTypeMapper : string with get, set
Public Property ContentTypeMapper As String
属性值
一个字符串,其中包含 MIME 内容的名称。A string that contains the name of a MIME content.
- 属性