Adds text data to the data object in the format indicated by the specified System.Windows.Forms.TextDataFormat value.
- textData
- The text to add to the data object.
- format
- One of the System.Windows.Forms.TextDataFormat values.
To retrieve text data from the data object, first use the erload:System.Windows.Forms.DataObject.ContainsText method to determine whether the data object contains image data before retrieving it with the erload:System.Windows.Forms.DataObject.GetText method.