Class MapiProperty

MapiProperty class

Represents the mapi property.

public class MapiProperty

Constructors

NameDescription
MapiProperty(long)Initializes a new instance of the MapiProperty class.
MapiProperty(long, byte[])Initializes a new instance of the MapiProperty class.
MapiProperty(long, IList<object>)Initializes a new instance of the MapiProperty class. This overload is used to create a multiple valued property, PT_MV_*.
MapiProperty(PidLidPropertyDescriptor, object)Initializes a new instance of the MapiProperty class.
MapiProperty(PidTagPropertyDescriptor, object)Initializes a new instance of the MapiProperty class.
MapiProperty(long, long, byte[])Initializes a new instance of the MapiProperty class.
MapiProperty(string, long, long, byte[])Initializes a new instance of the MapiProperty class.

Properties

NameDescription
virtual Data { get; }Gets the binary data.
virtual DataType { get; }Gets the data type.
Descriptor { get; }Gets descriptor of MAPI property
virtual Identifier { get; }Gets the indifier.
IsNamed { get; }Indicates whether the property is a named property.
virtual IsSigned { get; set; }Indicates whether the binary data is signed.
MVEntries { get; }Gets the MV entries list.
virtual Name { get; }Gets the name.
virtual PropertyTagName { get; }Gets the PropertyName.
virtual Tag { get; }Gets the tag.

Methods

NameDescription
static CreateMapiPropertyFromBytes(long, byte[])Creates the mapi property from bytes.
static CreateMapiPropertyFromDateTime(long, DateTime)Creates the mapi property from date time.
static CreateMapiPropertyFromLong(long, long)Creates the mapi property from long.
static CreateMapiPropertyFromLong(long, long, long)Creates the mapi property from long.
virtual GetBoolean()Gets the first bytes of the binary data as boolean.
virtual GetCurrency()Gets the Currency as string using the specified code page.
virtual GetDateTime()Gets the first bytes of the binary data as datetime.
virtual GetDouble()Gets the bytes of the binary data as double.
virtual GetFloat()Gets the bytes of the binary data as float.
virtual GetFloatingDate()Gets the bytes of the binary data as DateTime.
virtual GetGuid()Gets the bytes of the binary data as Guid.
virtual GetInt32()Gets the first 4 bytes of the binary data as int32.
virtual GetLong()Gets the first 8 bytes of the binary data as long.
virtual GetShort()Gets the first 2 bytes of the binary data as short.
virtual GetString()Gets the binary data as string.
virtual GetString(int)Gets the binary data as string using the specified code page.
GetValue()Gets value as object
override ToString()Returns a String that represents the current Object.

See Also