Grasshopper API
GH_IReaderTryGetDate Method (String, Int32, DateTime) |
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 TryGetDate( string item_name, int item_index, ref DateTime value )
Function TryGetDate ( item_name As String, item_index As Integer, ByRef value As DateTime ) As Boolean
Parameters
- item_name
- Type: SystemString
Name of item to retrieve. - item_index
- Type: SystemInt32
Index of item to retrieve. - value
- Type: SystemDateTime
Target of assignment.
Return Value
Type: BooleanTrue if the value was set.
