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

IDataObject.GetData Method (Type)

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

Retrieves a data object in a specified format; the data format is specified by a Type object.

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

Object GetData(
	Type format
)

Parameters

format
Type: System.Type
A Type object that specifies the format in which to retrieve the data.

Return Value

Type: System.Object
A data object that has the data in the specified format; or null, if the data is not available in the specified format.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft