Returns a TimeZoneInfo instance for the time zone with supplied name.
Namespace:
C1.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
public static TimeZoneInfo GetTimeZone( string name ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetTimeZone ( _ name As String _ ) As TimeZoneInfo |
Parameters
- name
- Type: System..::..String
A name of the time zone to search for.
Return Value
TimeZoneInfo instance if any; null otherwise.
Remarks
This method searches by standard, daylight and display names.