GH_ConvertToGHInteger Method  | 
 
 Convert data into GH_Integer.
 
 
    Namespace: 
   Grasshopper.Kernel
    Assembly:
   Grasshopper (in Grasshopper.dll)
Syntaxpublic static bool ToGHInteger(
	Object data,
	GH_Conversion conversion_level,
	ref GH_Integer target
)
Public Shared Function ToGHInteger ( 
	data As Object,
	conversion_level As GH_Conversion,
	ByRef target As GH_Integer
) As Boolean
Parameters
- data
 - Type: SystemObject
Data to convert - conversion_level
 - Type: Grasshopper.KernelGH_Conversion
Level of conversion. - target
 - Type: Grasshopper.Kernel.TypesGH_Integer
Destination of conversion. If Null, a new instance will be created. 
Return Value
Type: 
Boolean
See Also