ConvertToString static method

String ConvertToString(
  1. MapiPropertyType? mapiPropType,
  2. Object? value
)
Converts a value to a string. Type of the MAPI property. Value to convert to string.

Implementation

static String ConvertToString(MapiPropertyType? mapiPropType, Object? value) {
  return (value == null)
      ? ""
      : MapiTypeConverterMap.Member![mapiPropType!]!.ConvertToString(value);
}