GH_Convert.ToInt32_Secondary Method

GH_ConvertToInt32_Secondary Method

Performs indirect casts from other data types into Integers.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToInt32_Secondary(
	Object data,
	ref int destination
)
Public Shared Function ToInt32_Secondary ( 
	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: Boolean
True on success, false on failure.
See Also