AbstractHttpEntity.SetContentType(String) AbstractHttpEntity.SetContentType(String) Method

Definition

Specifies the Content-Type header, as a string.

[Android.Runtime.Register("setContentType", "(Ljava/lang/String;)V", "GetSetContentType_Ljava_lang_String_Handler")]
public virtual void SetContentType (string ctString);
abstract member SetContentType : string -> unit
override this.SetContentType : string -> unit

Parameters

ctString
String String

the new Content-Type header, or null to unset

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