End property

PropertyDefinition End
getter/setter pair
Defines the End property.

Implementation

static PropertyDefinition End =
    ScopedDateTimePropertyDefinition.withUriAndFlags(
      XmlElementNames.End,
      _AppointmentSchemaFieldUris.End,
      [
        PropertyDefinitionFlags.CanSet,
        PropertyDefinitionFlags.CanUpdate,
        PropertyDefinitionFlags.CanFind,
      ],
      ExchangeVersion.Exchange2007_SP1,
      (ExchangeVersion version) {
        return version == ExchangeVersion.Exchange2007_SP1
            ? AppointmentSchema.StartTimeZone
            : AppointmentSchema.EndTimeZone;
      },
    );