共用方式為


CellValue.TryGetDateTime(DateTime) Method

Definition

Attempts to parse cell value to retrieve a DateTime.

public bool TryGetDateTime (out DateTime dt);
member this.TryGetDateTime : DateTime -> bool
Public Function TryGetDateTime (ByRef dt As DateTime) As Boolean

Parameters

dt
DateTime

The result if successful.

Returns

Success or failure

Applies to