ChangeType static method

Object? ChangeType(
  1. MapiPropertyType? mapiType,
  2. Object? value
)
Change value to a value of compatible type. Type of the mapi property. The value.

Implementation

static Object? ChangeType(MapiPropertyType? mapiType, Object? value) {
  EwsUtilities.ValidateParam(value, "value");

  return MapiTypeConverterMap.Member![mapiType!]!.ChangeType(value);
}