VTime Zone CollectionIndex Of(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: 2025.1.9.0
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.
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public int IndexOf(
string? tzid
)VB
Public Function IndexOf (
tzid As String
) As IntegerC++
public:
int IndexOf(
String^ tzid
)F#
member IndexOf :
tzid : string -> int Parameters
- tzid String
- The time zone ID to find
Return Value
Int32The 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.