Scheduler for WPF | ComponentOne
C1.C1Schedule Namespace / TimeZoneInfo Class / GetTimeZone Method
A name of the time zone to search for.

In This Topic
    GetTimeZone Method (TimeZoneInfo)
    In This Topic
    Returns a TimeZoneInfo instance for the time zone with supplied name.
    Syntax
    'Declaration
     
    
    Public Shared Function GetTimeZone( _
       ByVal name As String _
    ) As TimeZoneInfo
    public static TimeZoneInfo GetTimeZone( 
       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