CalendarObjectUpdatePropertyTimeZoneId Method

This helper method can be used to update a time zone ID in the passed date/time property

Definition

Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
protected static void UpdatePropertyTimeZoneId(
	BaseDateTimeProperty dateProp,
	string oldId,
	string newId
)

Parameters

dateProp  BaseDateTimeProperty
The date/time property to check
oldId  String
The old ID being replaced
newId  String
The new ID to use

Remarks

If the property's current time zone ID matches the old ID, it is replaced with the new ID

See Also