Table of Contents

Method SetText

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

SetText(string)

Adds a text string to the data object in the Text format.

public virtual void SetText(string value)

Parameters

value string

SetText(string, TextDataFormat)

Stores text data in this data object. The format of the text data to store is specified with a member of TextDataFormat.

public void SetText(string textData, TextDataFormat format)

Parameters

textData string

A string that contains the text data to store in the data object.

format TextDataFormat

A member of TextDataFormat that specifies the text data format to store.

Exceptions

ArgumentNullException

textData is null.