Method SetText
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
stringA string that contains the text data to store in the data object.
format
TextDataFormatA member of TextDataFormat that specifies the text data format to store.
Exceptions
- ArgumentNullException
textData
is null.