DataFormats.FileDrop 欄位

定義

指定 WindowsWindows 檔案置放格式。Specifies the WindowsWindows file drop format.

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

欄位值

備註

使用此格式,即可在拖放作業期間與 shell 檔案拖曳進行互動。Use this format to interact with shell file drags during drag-and-drop operations.

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.

適用於