ExtendedPropertyDefinition.withTag constructor

ExtendedPropertyDefinition.withTag(
  1. int tag,
  2. MapiPropertyType? _mapiType
)
Initializes a new instance of the The tag of the extended property. The MAPI type of the extended property.

Implementation

ExtendedPropertyDefinition.withTag(int tag, this._mapiType) {
  if (tag < 0x00 || tag > 0xFFFF) {
    throw new RangeError.range(
        tag, 0x00, 0xFFFF, "tag", "Strings.TagValueIsOutOfRange");
  }
  this._tag = tag;
}