Sdílet prostřednictvím


FieldValue.AsDate Method

Definition

Gets the value of the field as a DateTime.

public DateTime AsDate ();
member this.AsDate : unit -> DateTime
Public Function AsDate () As DateTime

Returns

The value of the field converted to a DateTime.

Exceptions

Thrown when ValueType is not Date or when the value is null.

Applies to