Class MessageObjectProperty
MessageObjectProperty class
Represents a property on a MessageObject.
public sealed class MessageObjectProperty
Constructors
| Name | Description |
|---|
| MessageObjectProperty(long, MapiPropertyFlags, object) | Initializes a new instance of the MessageObjectProperty class. |
| MessageObjectProperty(int, MapiType, MapiPropertyFlags, object) | Initializes a new instance of the MessageObjectProperty class. |
Properties
| Name | Description |
|---|
| Atomic { get; } | Gets a value indicating whether this MessageObjectProperty is atomic. |
| Flags { get; } | Gets the flags set on a property. |
| Guid { get; set; } | Gets or sets the GUID for the named property. |
| Id { get; } | Gets the id of the property. |
| Name { get; set; } | Gets or sets the name of the property if it’s named. |
| Named { get; } | Gets a value indicating whether this MessageObjectProperty is a named property. |
| NameId { get; set; } | Gets or sets the name id of the property if it’s named. |
| PropertyKind { get; set; } | Gets or sets the kind of the property if it’s named. |
| PropertyTag { get; } | Gets the property tag, a combined value which contains Id and PropertyType |
| PropertyType { get; } | Gets the type of the property. |
| Value { get; set; } | Gets or sets the value of the property. |
Methods
| Name | Description |
|---|
| ToDateTime() | Converts the value of the property to DateTime. |
| ToGuid() | Converts the value of the property to Guid. |
| ToInt() | Converts the value of the property to integer. |
| ToList<T>() | Converts the value of the property to a list of values. |
| ToStringRepresentation() | Converts the value of the property to string. |
See Also