Message.ContentType Property

Definition

Gets or sets the content tpye descriptor.

public string ContentType { get; set; }
member this.ContentType : string with get, set
Public Property ContentType As String

Property Value

System.String

RFC2045 Content-Type descriptor.

Remarks

Optionally describes the payload of the message, with a descriptor following the format of RFC2045, Section 5, for example "application/json".

Applies to