Class MapiRecipient

MapiRecipient class

Represents the recipient information in the Microsoft Outlook Message.

public class MapiRecipient : MapiPropertyContainer

Properties

NameDescription
AddressType { get; }Gets the type of the address of the message recipient or sender.
virtual CodePage { get; }Gets the code page.
Content { get; }Gets the content.
DisplayName { get; set; }Gets or sets the display name of the message recipient or sender.
EmailAddress { get; set; }Gets or sets the email address of the message recipient or sender.
NamedProperties { get; }Gets the named properties of message.
OrganizationEmailAddress { get; }Gets the organization email address.
virtual Properties { get; }Gets the collection of properties.
PropertyStream { get; }Gets the property stream.
RecipientClass { get; }Gets the type of recipent.
RecipientTrackStatus { get; set; }Status of recipient’s response to a meeting request.
RecipientType { get; }Gets the type of the recipient or sender.
SubStorages { get; }Gets the sub storages.

Methods

NameDescription
virtual GetProperty(PropertyDescriptor)Gets MAPI property by property descriptor.
GetPropertyBoolean(long)Gets the value of the property specified by tag as Boolean type.
GetPropertyBytes(long)Gets the string value of the property specified by tag.
GetPropertyDateTime(long)Gets the value of the property specified by tag as DateTime type.
GetPropertyInt32(long)Gets the int32 value of the property specified by tag.
GetPropertyLong(long)Gets the value of the property specified by tag as Long (int64) type.
GetPropertyShort(long)Gets the value of the property specified by tag as Short type.
GetPropertyString(long)Gets the string value of the property specified by tag.
GetPropertyString(long, int)Gets the string value of the property specified by tag.
IsStoreUnicodeOk()Determines if string properties are Unicode encoded or not.
virtual SetProperty(MapiProperty)Sets the property.
virtual SetProperty(PropertyDescriptor, object)Sets MAPI property.
TryGetPropertyData(long)Try to get the property data with specified tag key.
TryGetPropertyDateTime(long, ref DateTime)Gets the value of the specified property as DateTime type. A return value indicates whether the operation succeeded.
TryGetPropertyInt32(long, ref int)Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded.
TryGetPropertyLong(long, ref long)Gets the value of the specified property as Long type. A return value indicates whether the operation succeeded.
TryGetPropertyString(long)Try to get a property data as string with specified tag.
TryGetPropertyString(long, int)Try to get a property data as string with specified tag and code page.
TryGetPropertyString(long, ref string)Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
TryGetPropertyString(long, ref string, int)Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.

See Also