FileCsvDocumentTryGetDateTime Method (String, Int32, DateTime) |
Retrieves the value of a cell as a date and time, addressing the column by header name.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic bool TryGetDateTime(
string column,
int row,
out DateTime value
)
Public Function TryGetDateTime (
column As String,
row As Integer,
<OutAttribute> ByRef value As DateTime
) As Boolean
Parameters
- column
- Type: SystemString
The header name of the column. - row
- Type: SystemInt32
The zero-based data-row index (y). - value
- Type: SystemDateTime
The parsed value, or MinValue if the column or cell does not exist or cannot be parsed.
Return Value
Type:
Booleantrue if the column and cell exist and were parsed; otherwise false.
See Also