DataFormats.Dif 欄位

定義

指定 Windows 資料交換格式 (DIF) 資料格式。Specifies the Windows Data Interchange Format (DIF) data format.

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

欄位值

備註

DIF 是一種格式,其中包含 ASCII 代碼,其中資料庫、試算表和類似的檔可以結構化,以協助其使用並傳輸至其他程式。DIF is a format consisting of ASCII codes in which database, spreadsheet, and similar documents can be structured to facilitate their use by and transfer to other programs.

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.

適用於