GH_IReaderTryGetLine Method (String, Int32, GH_Line) |
Gets the value of the item with the specified name and index.
Name comparison is not case-sensitive.
Namespace:
GH_IO.Serialization
Assembly:
GH_IO (in GH_IO.dll)
Syntax bool TryGetLine(
string item_name,
int item_index,
ref GH_Line value
)
Function TryGetLine (
item_name As String,
item_index As Integer,
ByRef value As GH_Line
) As Boolean
Parameters
- item_name
- Type: SystemString
Name of item to retrieve. - item_index
- Type: SystemInt32
Index of item to retrieve. - value
- Type: GH_IO.TypesGH_Line
Target of assignment.
Return Value
Type:
BooleanTrue if the value was set.
See Also