DataFormats.Html Field

 

Specifies text in the HTML Clipboard format. This static field is read-only.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static readonly string Html

Field Value

Type: System.String

This field is used by the IDataObject interface and the DataObject class to indicate the CF_HTML clipboard data type. For more information about this format, see HTML Clipboard Format.

When adding to an IDataObject or to an implementation of DataObject, use this field as the format for the IDataObject.SetData and DataObject.SetData methods.

To see if an object of this type exists, use this field as the format for the IDataObject.GetDataPresent and DataObject.GetDataPresent methods.

To get an object of this type, use this as the format for the IDataObject.GetData and DataObject.GetData methods.

.NET Framework
Available since 1.1
Return to top
Show: