Compartilhar via


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: IDataObject

    The data object.

Return Value

Type: Boolean
true if the data object contains a recognized data format, otherwise false.

.NET Framework Security

See Also

Reference

DragDropHelper Class

Microsoft.VisualStudio.PlatformUI Namespace