Bewerken

Share via


DataFormats.FileDrop Field

Definition

Specifies the Windows file drop format, which Windows Forms does not directly use. This static field is read-only.

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

Field Value

Remarks

You can use this format to interact with shell file drags during drag-and-drop operations.

This field is used by the IDataObject interface and the DataObject class to specify the data type.

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.

To see if an object of this type exists, use this field as the format for the IDataObject.GetDataPresent and DataObject.GetDataPresent methods.

To get an object of this type, use this as the format for the IDataObject.GetData and DataObject.GetData methods.

Applies to

See also