FileCsvDocumentTryGetBool Method (Int32, Int32, Boolean) |
Retrieves the value of a cell as a boolean. Recognizes "true"/"false", "yes"/"no",
and "1"/"0" (case-insensitive, surrounding whitespace ignored).
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic bool TryGetBool(
int column,
int row,
out bool value
)
Public Function TryGetBool (
column As Integer,
row As Integer,
<OutAttribute> ByRef value As Boolean
) As Boolean
Parameters
- column
- Type: SystemInt32
The zero-based column index (x). - row
- Type: SystemInt32
The zero-based row index (y). - value
- Type: SystemBoolean
The parsed value, or false if the cell does not exist or cannot be parsed.
Return Value
Type:
Booleantrue if the cell exists and was parsed; otherwise false.
See Also