FileCsvDocumentTryGetDouble Method (String, Int32, Double) |
Retrieves the value of a cell as a double-precision number, addressing the column by header name.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic bool TryGetDouble(
string column,
int row,
out double value
)
Public Function TryGetDouble (
column As String,
row As Integer,
<OutAttribute> ByRef value As Double
) As Boolean
Parameters
- column
- Type: SystemString
The header name of the column. - row
- Type: SystemInt32
The zero-based data-row index (y). - value
- Type: SystemDouble
The parsed value, or 0.0 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