See Also

AttachmentBase Class  | AttachmentBase Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

Show All

Gets or sets MIME content type for the attachment.

[Visual Basic]
Public Property ContentType As String
[C#]
public string ContentType {get; set;}

Remarks

The MIME content type is refer by type and subtype (Ex. image/jpeg). It will be get decided by using the extension in the filename

Based on the Default content type will be set as application/octet-stream. If contentType is not set, then it will get extracted from the registry, if failed or not found, then try to search from internal ContentType list. On failing all above cases

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AttachmentBase Class  | AttachmentBase Members

 

 


© Copyright 2006, ceTe Software