Table of Contents

Method SetData

Namespace
Innova.Prism.Library.Mail
Assembly
Innova.Prism.Library.dll

SetData(object)

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

public void SetData(object data)

Parameters

data object

The data to store.

SetData(Type, object)

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

public void SetData(Type format, object data)

Parameters

format Type

A Type representing the format associated with the data. See DataFormats for predefined formats.

data object

The data to store.

SetData(string, object)

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

public void SetData(string format, object data)

Parameters

format string

The format associated with the data. See DataFormats for predefined formats.

data object

The data to store.

SetData(string, object, bool)

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

public void SetData(string format, object data, bool autoConvert)

Parameters

format string

The format associated with the data. See DataFormats for predefined formats.

data object

The data to store.

autoConvert bool

true to allow the data to be converted to another format; otherwise, false.