Hunny Software Library Reference

BodyStructureData.MediaType Property

Gets the primary media type.

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

Property Value

The primary media type.

Remarks

Content in the MIME standard is labeled with a media type, such as "text/plain" or "image/jpeg". The media type consists of a primary media type, such as "text" or "image", and a subtype, such as "plain" or "jpeg". This property contains the primary media type of the referenced content.

See Also

BodyStructureData Class | Hunny.Mail Namespace