Class MapiNamedPropertyMappingStorage

MapiNamedPropertyMappingStorage class

Represents the named property mapping

public sealed class MapiNamedPropertyMappingStorage : MapiPropertyContainer

Constructors

NameDescription
MapiNamedPropertyMappingStorage()Initializes a new instance of the MapiNamedPropertyMappingStorage class.

Properties

NameDescription
virtual CodePage { get; }Gets the code page.
Content { get; }Gets the content
Name { get; }Gets the name
virtual Properties { get; }Gets the collection of properties.

Methods

NameDescription
AddNamedPropertyMapping(MapiProperty, long, Guid)Adds the named property mapping for numeric named property.
AddNamedPropertyMapping(MapiProperty, string, Guid)Adds the named property mapping for string named property.
GetNextAvailablePropertyId(MapiPropertyType)Gets the next available property id in entries stream based on property datatype.
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