DataFormats.Html Field

Definition

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

public: static initonly System::String ^ Html;
public static readonly string Html;
 staticval mutable Html : string
Public Shared ReadOnly Html As String 

Field Value

Remarks

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.

Applies to

See also