TimeZoneIDTryParse Method

Tries to parse a String as TimeZoneID object.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.1.0+9753915cd0f8006e7e5b4f62aa63aa3651006f06
C#
public static bool TryParse(
	string? value,
	out TimeZoneID?? timeZoneID
)

Parameters

value  String
Identifier of the time zone. It should be an identifier from the "IANA Time Zone Database". (See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones .)
timeZoneID  TimeZoneID
If parsing was successful, the parameter contains a new TimeZoneID object. The parameter is passed uninitialized.

Return Value

Boolean
true if parsing was successful, otherwise false.

See Also