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
public string MediaType { get; set; }
public:
property String^ MediaType {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_MediaType ()
/** @property */
public void set_MediaType (String value)
public function get MediaType () : String
public function set MediaType (value : String)
Property Value
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003