CalendarObjectAddTimeZoneIfUsed Method
This helper method can be used to add a time zone ID to the string collection when one is used on the
passed property.
Namespace: EWSoftware.PDI.ObjectsAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
protected static void AddTimeZoneIfUsed(
BaseDateTimeProperty dateProp,
StringCollection timeZoneIds
)
Protected Shared Sub AddTimeZoneIfUsed (
dateProp As BaseDateTimeProperty,
timeZoneIds As StringCollection
)
protected:
static void AddTimeZoneIfUsed(
BaseDateTimeProperty^ dateProp,
StringCollection^ timeZoneIds
)
static member AddTimeZoneIfUsed :
dateProp : BaseDateTimeProperty *
timeZoneIds : StringCollection -> unit
Parameters
- dateProp BaseDateTimeProperty
- The date/time property to check.
- timeZoneIds StringCollection
- The string collection to which the time zone ID is added if there is one on
the date/time property and it is not already in the collection.
If the date/time property has no time zone ID or if it is set to
MinValue,
the collection is not modified.