Click or drag to resize

DataObjectSetObject Method

Sets the value into the data object with the specified type using serialization or type converter

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void SetObject(
	Object value,
	string type
)

Parameters

value
Type: SystemObject
Serializable value to set as a value in the data object
type
Type: SystemString
Type identifier to set the value for

Implements

IDataObjectSetObject(Object, String)
Remarks
The object specified must be serializable or have a type converter to convert to a string.
See Also