VTimeZoneCollectionMerge Method

This is used to merge a time zone instance into the collection

Definition

Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public int Merge(
	VTimeZone vTimeZone
)

Parameters

vTimeZone  VTimeZone
The time zone information to merge with the collection

Return Value

Int32
The index of the merged time zone item

Remarks

If a time zone object with the same time zone ID does not already exist in the collection, it is added as-is. If one does exist with the same time zone ID, the rules from the new object are merged with the existing one if the MergingEnabled property is set to true. If it is set to false, the new object is ignored and the existing settings remain unchanged. The index of the existing entry will still be returned.

See Also