TimeZoneIDTryCreate Method
Tries to create a new
TimeZoneID instance from
value and returns
null if the creation fails.
Namespace: FolkerKinzel.VCards.ModelsAssembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.1.0+9753915cd0f8006e7e5b4f62aa63aa3651006f06
public static TimeZoneID? TryCreate(
string? value
)
Public Shared Function TryCreate (
value As String
) As TimeZoneID
public:
static TimeZoneID^ TryCreate(
String^ value
)
static member TryCreate :
value : string -> TimeZoneID
- 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
.)
TimeZoneIDThe newly created
TimeZoneID instance, or
null
if one of the arguments is out of range.