• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class BodyFormat

Provides a typed view of the PidTagNativeBody bitmask, indicating which body formats are present on a message.

Inheritance
object
BodyFormat
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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 Source

BodyFormat(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 Source

ClearSigned

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

View Source

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

View Source

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

View Source

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

View Source

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

  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX