System.Windows.Forms.TextDataFormat Enumeration

Specifies the formats used with text-related methods of the System.Windows.Forms.Clipboard and System.Windows.Forms.DataObject classes.

Syntax

public enum TextDataFormat

Remarks

This enumeration contains values that are similar to the text-related fields of the System.Windows.Forms.DataFormats type.

This enumeration is used with the following methods:

Members

Member NameDescription
CommaSeparatedValue

Specifies a comma-separated value (CSV) format, which is a common interchange format used by spreadsheets.

Html

Specifies text consisting of HTML data.

Rtf

Specifies text consisting of rich text format (RTF) data.

Text

Specifies the standard ANSI text format.

UnicodeText

Specifies the standard Windows Unicode text format.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0