Click or drag to resize

IBinderBind Method

Version 94.4.20
Bind to the given model type, can also be used for type conversion e.g. int to uint

Namespace:  CefSharp.ModelBinding
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
Object Bind(
	Object obj,
	Type targetParamType
)

Parameters

obj
Type: SystemObject
object to be converted into a model
targetParamType
Type: SystemType
the target param type

Return Value

Type: Object
if the modelType is directly assignable then do so, otherwise perform a conversion or create a complex object that matches targetParamType
See Also