GetTimeZoneProperty method

PropertyDefinition GetTimeZoneProperty(
  1. ExchangeVersion version
)
Gets the time zone property to which to scope times. The EWS version for which the property is to be retrieved.

Implementation

/* private */
PropertyDefinition GetTimeZoneProperty(ExchangeVersion version) {
  PropertyDefinition timeZoneProperty =
      this._getPropertyDefinitionCallback(version);

  EwsUtilities.Assert(
      timeZoneProperty != null,
      "ScopedDateTimePropertyDefinition.GetTimeZoneProperty",
      "timeZoneProperty is null.");

  return timeZoneProperty;
}