ContentTypeHeader.MediaType Property
The MediaType property gets or sets the media type for this ContentTypeHeader object.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Property MediaType As String
Get
Set
'Usage
Dim instance As ContentTypeHeader
Dim value As String
value = instance.MediaType
instance.MediaType = value
public string MediaType { get; set; }
Property Value
Type: System.String
The MediaType property returns a string that contains the media type for this ContentTypeHeader object.
Remarks
The MediaType property does not include parameters. The MediaType property can only contain ASCII characters.