Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / 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 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