Method SetText
SetText(string)
Adds a text string to the data object in the Text format.
public virtual void SetText(string value)
Parameters
valuestring
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 virtual void SetText(string textData, TextDataFormat format)
Parameters
textDatastringA string that contains the text data to store in the data object.
formatTextDataFormatA member of TextDataFormat that specifies the text data format to store.
Exceptions
- ArgumentNullException
textDatais null.