Grasshopper API
GH_Item Constructor (String, Int32, String) |
Construct a new instance of GH_Item with the specified name, index and value.
Namespace: GH_IO.Types
Assembly: GH_IO (in GH_IO.dll)

public GH_Item( string item_name, int item_index, string item_data )
Public Sub New ( item_name As String, item_index As Integer, item_data As String )
Parameters
- item_name
- Type: SystemString
Name of new item. - item_index
- Type: SystemInt32
Index of new item. Any index less than zero will be clamped to -1. - item_data
- Type: SystemString
Value of new item.

Exception | Condition |
---|---|
ArgumentNullException | Thrown if the specified name string is null or empty. |
