See Also Applies To
The LoadFromFile method loads a PITimeZoneInfo object into the system from a file.
The LoadFromFile method syntax has these parts:
|object||An object expression that evaluates to a PITimeZoneInfos collection.|
|FileName||The path to the time zone file.|
The time zone file format is binary.
In addition to generic errors (such as Out of Memory), the following errors may occur:
|tseNOEMPTYSTRINGS||Blank file path is not allowed.|
|tseDUPLICATENAME||The time zone is already added to the local collection.|
|tseINVALIDTZFILE||The time zone file was invalid or contained invalid data.|