API Reference

Class

MapiProperty

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Modifiers sealed

Typed MAPI property retained from or intended for an MSG/TNEF artifact.

Inheritance

  • Object
  • MapiProperty

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public MapiProperty(UInt16 propertyId, MapiPropertyType propertyType, Object value = null, UInt32 flags = 6, MapiNamedProperty name = null) #

Creates a property.

Parameters

propertyId System.UInt16 requiredposition: 0
propertyType OfficeIMO.Email.MapiPropertyType requiredposition: 1
value System.Object = null optionalposition: 2
flags System.UInt32 = 6 optionalposition: 3
name OfficeIMO.Email.MapiNamedProperty = null optionalposition: 4

Properties

public UInt16 PropertyId { get; set; } #

Property ID encoded in the high 16 bits of a property tag.

public MapiPropertyType PropertyType { get; set; } #

Property value type.

public UInt32 PropertyTag { get; } #

Combined property tag.

public UInt32 Flags { get; set; } #

Property stream flags.

public Object Value { get; set; } #

Decoded scalar or array value.

public Byte[] RawData { get; set; } #

Original serialized value bytes when available. String8 properties retain these bytes when written so an untouched value is not damaged by a decode/re-encode cycle; clear this property when replacing the value.

public MapiNamedProperty Name { get; set; } #

Canonical named-property identity for mapped IDs.