Grasshopper API
GH_ConvertToInt32_Primary Method |
Performs a direct cast from Int32 or GH_Integer.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToInt32_Primary( Object data, ref int destination )
Public Shared Function ToInt32_Primary ( data As Object, ByRef destination As Integer ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert. - destination
- Type: SystemInt32
Target for value assignment.
Return Value
Type: BooleanTrue on success, false on failure.
