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

IDataObject.GetDataPresent Method (String)

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

Checks whether the data is available in, or can be converted to, a specified format; the data format is specified by a string.

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

bool GetDataPresent(
	string format
)

Parameters

format
Type: System.String
A string 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