DataFormats.Html DataFormats.Html DataFormats.Html DataFormats.Html Field

定义

指定 HTML 剪贴板格式中的文本。Specifies text in the HTML Clipboard format. static 字段是只读的。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 

字段值

注解

使用此字段IDataObject接口和DataObject类,以指示 CF_HTML 剪贴板数据类型。This field is used by the IDataObject interface and the DataObject class to indicate the CF_HTML clipboard data type. 有关此格式的详细信息,请参阅HTML 剪贴板格式For more information about this format, see HTML Clipboard Format.

在将添加到IDataObject或实现DataObject,将该字段的格式用作IDataObject.SetDataDataObject.SetData方法。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.

若要查看此类型的对象是否存在,请使用此字段为的格式IDataObject.GetDataPresentDataObject.GetDataPresent方法。To see if an object of this type exists, use this field as the format for the IDataObject.GetDataPresent and DataObject.GetDataPresent methods.

若要获取此类型的对象,使用此为格式IDataObject.GetDataDataObject.GetData方法。To get an object of this type, use this as the format for the IDataObject.GetData and DataObject.GetData methods.

适用于

另请参阅