Click or drag to resize

ExchangeObject Methods

The ExchangeObject type exposes the following members.

Methods
  NameDescription
Public methodAddProperty
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.
Public methodGetProperty
Public methodGetSinglePropertyValue(String, Boolean)
Returns the value of a property of data type 'Boolean' (that is, a Value property w. datatype 'Boolean').
Public methodGetSinglePropertyValue(String, DateTime)
Returns the value of a property of data type 'DateTime' (that is, a Value property w. datatype 'DateTime').
Public methodGetSinglePropertyValue(String, Double)
Returns the value of a property of data type 'double' (that is, a Value property w. datatype 'Decimal').
Public methodGetSinglePropertyValue(String, Guid)
Returns the value of a property of data type 'Guid' (that is, a Set- or a Reference-property).
Public methodGetSinglePropertyValue(String, Int32)
Returns the value of a property of data type 'Integer' (that is, a Value property w. datatype 'Integer').
Public methodGetSinglePropertyValue(String, String)
Returns the value of a property of data type 'String' (that is, a Value property w. datatype 'Text').
Public methodGetSinglePropertyValue(String, TimeSpan)
Returns the value of a property of data type 'TimeSpan' (that is, a Value property w. datatype 'TimeSpan').
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also