Click or drag to resize

ExtensionMethodsContainsFileDropListEx Method

An IDataObject extension method that query if 'pDataObject' contains data that can be dropped as a file.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public static bool ContainsFileDropListEx(
	this IDataObject pDataObject
)

Parameters

pDataObject
Type: System.Windows.FormsIDataObject
The pDataObject to act on.

Return Value

Type: Boolean
True if it succeeds, false if it fails.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This variant also works for Outlook attachments.
See Also