DragDropHelper.DataObjectHasString(IDataObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the data object contains one of the recognized strings data formats
public:
static bool DataObjectHasString(System::Windows::IDataObject ^ source);
public static bool DataObjectHasString (System.Windows.IDataObject source);
static member DataObjectHasString : System.Windows.IDataObject -> bool
Public Shared Function DataObjectHasString (source As IDataObject) As Boolean
Parameters
- source
- IDataObject
The data object.
Returns
true
if the data object contains a recognized data format, otherwise false
.