Freigeben über


DateTimeUtil.GetMaxValue(DateTimeKind) Method

Definition

Gets the maximum value for a DateTime with the specified DateTimeKind.

public static DateTime GetMaxValue (DateTimeKind kind);
static member GetMaxValue : DateTimeKind -> DateTime
Public Shared Function GetMaxValue (kind As DateTimeKind) As DateTime

Parameters

Returns

The maximum DateTime value of the specified kind.

Applies to