ContentTypeField.GetMimeType Method 

Gets the MIME type defined in the child's Content-Type field or derives a MIME type from the parent if child is null or hasn't got a MIME type value set. If child's MIME type is multipart but no boundary has been set the MIME type of child will be derived from the parent.

public static string GetMimeType(
   ContentTypeField child,
   ContentTypeField parent
);

Parameters

child
the child.
parent
the parent.

Return Value

the MIME type.

See Also

ContentTypeField Class | NI.Email.Mime.Field Namespace