DataFormats.Palette DataFormats.Palette DataFormats.Palette DataFormats.Palette Field

定义

指定 Windows 调色板格式。Specifies the Windows palette format. static 字段是只读的。This static field is read-only.

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

字段值

注解

使用此字段来查询DataObject所包含的数据的格式。Use this field to query a DataObject for the format of data that it contains.

使用此字段IDataObject接口和DataObject类,以指定的数据类型。This field is used by the IDataObject interface and the DataObject class to specify the data type.

在将添加到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.

适用于

另请参阅