Table of Contents

Method GetData

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

GetData(Type)

Retrieves the data associated with the specified class type format.

public object GetData(Type format)

Parameters

format Type

A Type representing the format of the data to retrieve. See DataFormats for predefined formats.

Returns

object

The data associated with the specified format, or null.

GetData(string)

Retrieves the data associated with the specified data format.

public object GetData(string format)

Parameters

format string

The format of the data to retrieve. See DataFormats for predefined formats.

Returns

object

The data associated with the specified format, or null.

GetData(string, bool)

Retrieves the data associated with the specified data format, using a Boolean to determine whether to convert the data to the format.

public object GetData(string format, bool autoConvert)

Parameters

format string

The format of the data to retrieve. See DataFormats for predefined formats.

autoConvert bool

true to convert the data to the specified format; otherwise, false.

Returns

object

The data associated with the specified format, or null.

GetData(string, int)

Retrieves the data associated with the specified data format at the specified index.

public MemoryStream GetData(string format, int index)

Parameters

format string

The format of the data to retrieve. See DataFormats for predefined formats.

index int

The index of the data to retrieve.

Returns

MemoryStream

A MemoryStream containing the raw data for the specified data format at the specified index.