Click or drag to resize

IBinderBind Method

Version 112.3.0
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: 112.3.0.0 (112.3.0.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