DragDropHelper.DataObjectHasString Method
Determines whether the data object contains one of the recognized strings data formats
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function DataObjectHasString ( _
source As IDataObject _
) As Boolean
public static bool DataObjectHasString(
IDataObject source
)
public:
static bool DataObjectHasString(
IDataObject^ source
)
static member DataObjectHasString :
source:IDataObject -> bool
public static function DataObjectHasString(
source : IDataObject
) : boolean
Parameters
source
Type: IDataObjectThe data object.
Return Value
Type: Boolean
true if the data object contains a recognized data format, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.