Table of Contents

Interface IDataObject

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

Provides a format-independent mechanism for transferring data.

public interface IDataObject

Methods

GetData(string)

Retrieves a data object in a specified format; the data format is specified by a string.

GetDataPresent(string)

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

GetFormats()

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

SetData(object)

Stores the specified data in this data object, automatically converting the data format from the source object type.

SetData(string, object)

Stores the specified data in this data object, along with one or more specified data formats. The data format is specified by a string.