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

Returns: Objectarrow-up-right.

GetData(format)

Retrieves the data associated with the specified data format.

Parameter
Type
Description

Returns: Objectarrow-up-right.

GetData(format)

Retrieves the data associated with the specified class type format.

Parameter
Type
Description

Returns: Objectarrow-up-right.

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

Returns: Booleanarrow-up-right.

GetDataPresent(format)

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

Parameter
Type
Description

Returns: Booleanarrow-up-right.

GetDataPresent(format)

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

Parameter
Type
Description

Returns: Booleanarrow-up-right.

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

Returns: String[]arrow-up-right.

GetFormats()

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

Returns: String[]arrow-up-right.

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

SetData(format, data)

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

Parameter
Type
Description

SetData(format, data)

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

Parameter
Type
Description

SetData(data)

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

Parameter
Type
Description

Implemented By

Name
Description

Implements a basic data transfer mechanism.

Last updated

Was this helpful?