Class BodyFormat
Provides a typed view of the PidTagNativeBody bitmask, indicating which body formats are present on a message.
Inherited Members
Namespace: DRIT.Mail.Mapi.API.Messages
Assembly: DRIT.Mail.dll
Syntax
public class BodyFormat
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property
Constructors
View SourceBodyFormat(MapiMessage)
Initialises a new instance of BodyFormat backed by the given MAPI message.
Declaration
public BodyFormat(MapiMessage mapiMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| MapiMessage | mapiMessage | The MAPI message whose NativeBody property is being projected. |
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property
Properties
View SourceClearSigned
Gets or sets whether the message body is clear-signed.
Declaration
public bool ClearSigned { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property
Html
Gets or sets whether the message has an HTML body.
Declaration
public bool Html { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property
PlainText
Gets or sets whether the message has a plain-text body.
Declaration
public bool PlainText { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property
RichTextFormat
Gets or sets whether the message has an RTF body.
Declaration
public bool RichTextFormat { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property
Undefined
Gets or sets whether the message body format is undefined.
Declaration
public bool Undefined { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Reference: MS-OXCMSG 2.2.1.56.2 PidTagNativeBody Property