Table of Contents

Constructor DataObject

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DataObject()

Initializes a new instance of DataObject class.

public DataObject()

DataObject(string, object)

Initializes a new instance of DataObject class with the specified data, along with one or more specified data formats. The data format is specified by a string.

public DataObject(string format, object data)

Parameters

format string

A string that specifies what format to store the data in. See the DataFormats class for a set of pre-defined data formats.

data object

The data to store in this data object.

DataObject(object)

Initializes a new instance of DataObject class with the specified data in this data object, automatically converting the data format from the source object type.

public DataObject(object data)

Parameters

data object

The data to store in this data object.