Attachment.ContentType Property
The ContentType property gets a value that specifies the Multipurpose Internet Mail Extensions (MIME) content type of the attachment.
Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)
Syntax
'Declaration
Public Property ContentType As String
public string ContentType { get; set; }
public:
property String^ ContentType {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_ContentType ()
/** @property */
public void set_ContentType (String value)
public function get ContentType () : String
public function set ContentType (value : String)
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
See Also