Grasshopper API
GH_IReaderGetVersion Method (String) |
Gets the value of the item with the specified name.
Name comparison is not case-sensitive.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)
GH_Version GetVersion( string item_name )
Function GetVersion ( item_name As String ) As GH_Version
Parameters
- item_name
- Type: SystemString
Name of item to retrieve.
Return Value
Type: GH_VersionThe inner value of the item.
| Exception | Condition |
|---|---|
| OverflowException | Thrown if the type conversion fails. |
| InvalidCastException | Thrown if the type conversion is invalid. |
| NullReferenceException | Thrown if the item with the specified name does not exist. |