AbstractHttpEntity.ContentType Property

Definition

Obtains the Content-Type header.

public virtual Org.Apache.Http.IHeader? ContentType { [Android.Runtime.Register("getContentType", "()Lorg/apache/http/Header;", "GetGetContentTypeHandler")] get; [Android.Runtime.Register("setContentType", "(Lorg/apache/http/Header;)V", "GetSetContentType_Lorg_apache_http_Header_Handler")] set; }
[<get: Android.Runtime.Register("getContentType", "()Lorg/apache/http/Header;", "GetGetContentTypeHandler")>]
[<set: Android.Runtime.Register("setContentType", "(Lorg/apache/http/Header;)V", "GetSetContentType_Lorg_apache_http_Header_Handler")>]
member this.ContentType : Org.Apache.Http.IHeader with get, set

Property Value

IHeader
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to