IDataObject
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Provides a format-independent mechanism for transferring data.
- C#
- VB.NET
public interface IDataObject
Public Interface IDataObject
The operations exposed by this type include GetData, GetData, GetData.
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 | String | The format passed to the operation. |
| autoConvert | Boolean | The auto convert passed to the operation. |
Returns: Object.
GetData(format)
Retrieves the data associated with the specified data format.
| Parameter | Type | Description |
|---|---|---|
| format | String | The format passed to the operation. |
Returns: Object.
GetData(format)
Retrieves the data associated with the specified class type format.
| Parameter | Type | Description |
|---|---|---|
| format | Type | The format passed to the operation. |
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 | String | The format passed to the operation. |
| autoConvert | Boolean | The auto convert passed to the operation. |
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 | String | The format passed to the operation. |
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 | Type | The format passed to the operation. |
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 | Boolean | The auto convert passed to the operation. |
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 | String | The format passed to the operation. |
| autoConvert | Boolean | The auto convert passed to the operation. |
| data | Object | The data passed to the operation. |
SetData(format, data)
Stores the specified data and its associated format in this instance.
| Parameter | Type | Description |
|---|---|---|
| format | String | The format passed to the operation. |
| data | Object | The data passed to the operation. |
SetData(format, data)
Stores the specified data and its associated class type in this instance.
| Parameter | Type | Description |
|---|---|---|
| format | Type | The format passed to the operation. |
| data | Object | The data passed to the operation. |
SetData(data)
Stores the specified data in this instance, using the class of the data for the format.
| Parameter | Type | Description |
|---|---|---|
| data | Object | The data passed to the operation. |
Implemented By
| Name | Description |
|---|---|
| DataObject | Implements a basic data transfer mechanism. |