IDataObject

Wisej.Web.IDataObject

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides a format-independent mechanism for transferring data.

public interface IDataObject

Methods

GetData(format, autoConvert)

Retrieves the data associated with the specified data format, using autoConvert to determine whether to convert the data to the format.

Parameter
Type
Description

format

autoConvert

Returns: Object.

GetData(format)

Retrieves the data associated with the specified data format.

Parameter
Type
Description

format

Returns: Object.

GetData(format)

Retrieves the data associated with the specified class type format.

Parameter
Type
Description

format

Returns: Object.

GetDataPresent(format, autoConvert)

Determines whether data stored in this instance is associated with the specified format, using autoConvert to determine whether to convert the data to the format.

Parameter
Type
Description

format

autoConvert

Returns: Boolean.

GetDataPresent(format)

Determines whether data stored in this instance is associated with, or can be converted to, the specified format.

Parameter
Type
Description

format

Returns: Boolean.

GetDataPresent(format)

Determines whether data stored in this instance is associated with, or can be converted to, the specified format.

Parameter
Type
Description

format

Returns: Boolean.

GetFormats(autoConvert)

Gets a list of all formats that data stored in this instance is associated with or can be converted to, using autoConvert to determine whether to retrieve all formats that the data can be converted to or' only native data formats.

Parameter
Type
Description

autoConvert

Returns: String[].

GetFormats()

Gets a list of all formats that data stored in this instance is associated with or can be converted to.

Returns: String[].

SetData(format, autoConvert, data)

Stores the specified data and its associated format in this instance, using autoConvert to specify whether the data can be converted to another format.

Parameter
Type
Description

format

autoConvert

data

SetData(format, data)

Stores the specified data and its associated format in this instance.

Parameter
Type
Description

format

data

SetData(format, data)

Stores the specified data and its associated class type in this instance.

Parameter
Type
Description

format

data

SetData(data)

Stores the specified data in this instance, using the class of the data for the format.

Parameter
Type
Description

data

Implemented By

Name
Description

Implements a basic data transfer mechanism.

Last updated

Was this helpful?