IGH_DataAccessSetDataList Method (String, IEnumerable) |
Stores data in an output parameter during GH_Component.SolveInstance().
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax bool SetDataList(
string paramName,
IEnumerable data
)
Function SetDataList (
paramName As String,
data As IEnumerable
) As Boolean
Parameters
- paramName
- Type: SystemString
Name of the parameter at which to store the data. - data
- Type: System.CollectionsIEnumerable
Data to store. Data will be converted if necessary,
but it will not be duplicated automatically.
Return Value
Type:
BooleanRemarks Parameter access by index is faster, consider using the other overload if possible.
See Also