GH_Param(T).ConversionCallback Method

GH_ParamTConversionCallback Method

This method is called whenever a successful conversion takes place from some source data into local target data. Override it if you wish to keep tabs on conversions.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
protected virtual void ConversionCallback(
	Object source,
	T target
)
Protected Overridable Sub ConversionCallback ( 
	source As Object,
	target As T
)

Parameters

source
Type: SystemObject
Source data (never null).
target
Type: T
Target data (never null).
See Also