共用方式為


DragDropHelper.DataObjectHasString(IDataObject) Method

Definition

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.

Applies to