VTimeZoneCollectionIndexOf(String) Method

Get the index of a VTimeZone object by its time zone ID

Definition

Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public int IndexOf(
	string tzid
)

Parameters

tzid  String
The time zone ID to find

Return Value

Int32
The zero-based index of the entry if it exists within the collection or -1 if it is not found. This version is much faster than the other version as it only has to compare ID values.

See Also