ExchangeObject Methods |
The ExchangeObject type exposes the following members.
| Name | Description | |
|---|---|---|
| AddProperty |
Adds a property.
Throws an error if the exchange object already contains a property with the same name (case-insensitive matching applied).
Throws an error if the property is marked as key and the exchange object already contains a key property.
| |
| GetProperty | ||
| GetSinglePropertyValue(String, Boolean) |
Returns the value of a property of data type 'Boolean' (that is, a Value property w. datatype 'Boolean').
| |
| GetSinglePropertyValue(String, DateTime) |
Returns the value of a property of data type 'DateTime' (that is, a Value property w. datatype 'DateTime').
| |
| GetSinglePropertyValue(String, Double) |
Returns the value of a property of data type 'double' (that is, a Value property w. datatype 'Decimal').
| |
| GetSinglePropertyValue(String, Guid) |
Returns the value of a property of data type 'Guid' (that is, a Set- or a Reference-property).
| |
| GetSinglePropertyValue(String, Int32) |
Returns the value of a property of data type 'Integer' (that is, a Value property w. datatype 'Integer').
| |
| GetSinglePropertyValue(String, String) |
Returns the value of a property of data type 'String' (that is, a Value property w. datatype 'Text').
| |
| GetSinglePropertyValue(String, TimeSpan) |
Returns the value of a property of data type 'TimeSpan' (that is, a Value property w. datatype 'TimeSpan').
|
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |