GetDataPresent Method (Type)
Collapse the table of content
Expand the table of content

IDataObject.GetDataPresent Method (Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Checks to see whether the data is available in, or can be converted to, a specified format. The data format is specified by a Type object.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Function GetDataPresent ( _
	format As Type _
) As Boolean

Parameters

format
Type: System.Type
A Type that specifies the format to check for.

Return Value

Type: System.Boolean
true if the data is in, or can be converted to, the specified format; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft