ComponentOne Scheduler for WPF and Silverlight
GetTimeZone Method

C1.C1Schedule Namespace > TimeZoneInfo Class : GetTimeZone Method
A name of the time zone to search for.
Returns a TimeZoneInfo instance for the time zone with supplied name.
Syntax
'Declaration
 
Public Shared Function GetTimeZone( _
   ByVal name As System.String _
) As TimeZoneInfo
public static TimeZoneInfo GetTimeZone( 
   System.string name
)

Parameters

name
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.
See Also

Reference

TimeZoneInfo Class
TimeZoneInfo Members