Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

TryGetValue

Declaring type: DateTime
Module: System.Time
Assembly: System.Runtime.dll
Source file: DateTime.rvn

Overloads / Variants

TryGetValue

func TryGetValue(out value: LocalDateTime) -> bool

Source file: DateTime.rvn

Tries to extract the LocalDateTime alternative.

Parameters

Name Type Description
value out LocalDateTime Assigned only when this method returns true.

Return value

Boolean

True for the matching active variant; false otherwise.

TryGetValue

func TryGetValue(out value: ZonedDateTime) -> bool

Source file: DateTime.rvn

Tries to extract the ZonedDateTime alternative.

Parameters

Name Type Description
value out ZonedDateTime Assigned only when this method returns true.

Return value

Boolean

True for the matching active variant; false otherwise.