Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MapiProperty

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • MapiProperty

Usage

Explore 28 API references to this type

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

Accepted by parameters 12

Constructors

public MapiProperty(ushort propertyId, MapiPropertyType propertyType, object? value = null, uint flags = 6, MapiNamedProperty? name = null) #

Creates a property.

Parameters

propertyId ushort required
propertyType OfficeIMO.Email.MapiPropertyType required
value object? = null optional
flags uint = 6 optional
name OfficeIMO.Email.MapiNamedProperty? = null optional

Properties

public ushort PropertyId { get; set; } #

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

public MapiPropertyType PropertyType { get; set; } #

Property value type.

public uint PropertyTag { get; } #

Combined property tag.

public uint 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.