Table of Contents

Method SetData

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

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.

void SetData(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.

SetData(object)

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

void SetData(object data)

Parameters

data object

The data to store in this data object.