MapiProperty

General

MapiProperty represents a single MAPI property entry: a combination of a 16-bit property ID, a 16-bit property type code, a value, and optional flags. The PropertyTag combines the property ID and type into a 32-bit MAPI tag. Use MapiPropertyCollection.Get to retrieve a property by ID and type, or MapiMessage.SetProperty to set one.

MapiProperty representa una única entrada de propietat MAPI: una combinació d’un ID de propietat de 16 bits, un codi de tipus de propietat de 16-bits, el valor i les banderes opcionals. El ⌒PropertyTagヽ combina l’ID de la propietat i el tipus en una etiqueta MAPI de 32 bits. Utilitza ゚MapiPropertyCollection.Get` per recuperar una propietat pel ID i tipus o ゙ MapiMessage.SetProperty▽ per establir-ne un.

Construtores

SignatureDescription
MapiProperty(propertyId: ushort, propertyType: ushort, value: object?, flags: uint)Creates a new MapiProperty with the specified parameters.

Propietats

NameTypeAccessDescription
PropertyIdushortRead16-bit MAPI property identifier (the high 16 bits of the property tag).
PropertyTypeushortRead16-bit MAPI property type code (the low 16 bits of the property tag).
Valueobject?ReadDecoded property value; type depends on PropertyType (string, int, byte[], DateTime, etc.).
FlagsuintReadProperty flags bitmask; controls multi-value, read-only, and other behavioral attributes.
PropertyTaguintReadCombined 32-bit MAPI property tag: high 16 bits = PropertyId, low 16 bits = PropertyType.

Veure també

 Català