DataFormats.UnicodeText 字段

定义

指定 Unicode 文本数据格式。Specifies the Unicode text data format.

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

字段值

String

注解

此数据格式表示16位字符编码的 Unicode (也称为 UTF-16)和 UCS-2。This data format denotes 16-bit character encoded Unicode, also referred to as UTF-16, and UCS-2.

DataObject该类和实现接口的其他类使用此字段 IDataObject 来描述可用的数据格式。This field is used by the DataObject class and other classes that implement the IDataObject interface to describe an available data format.

将此字段与方法一起使用 SetData 可向数据对象添加具有相应格式的数据; 将此字段与方法一起使用 GetData 可检索相应格式的数据。Use this field with the SetData method to add data with a corresponding format to a data object; use this field with the GetData method to retrieve data in the corresponding format. 若要检查数据对象是否包含采用此格式的数据,请使用 GetDataPresent 方法来查询格式。To check whether a data object contains data in this format, use the GetDataPresent method to query for the format.

适用于