Grasshopper API
GH_IReaderTryGetInt32 Method (String, Int32, Int32) |
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)

bool TryGetInt32( string item_name, int item_index, ref int value )
Function TryGetInt32 ( item_name As String, item_index As Integer, ByRef value As Integer ) As Boolean
Parameters
- item_name
- Type: SystemString
Name of item to retrieve. - item_index
- Type: SystemInt32
Index of item to retrieve. - value
- Type: SystemInt32
Target of assignment.
Return Value
Type: BooleanTrue if the value was set.
