System.Windows.Forms.DataObject.ContainsFileDropList Method

Indicates whether the data object contains data that is in the DataFormats.FileDrop format or can be converted to that format.

Syntax

public virtual bool ContainsFileDropList ()

Returns

true if the data object contains a file drop list; otherwise, false.

Remarks

A file drop list is a collection of strings containing path information for files.

Use this method to determine whether the data object contains a file drop list before retrieving it with the DataObject.GetFileDropList method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0