IDataObject.GetData Method (String, Boolean)
[ 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, and optionally, converts the data to the specified format.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- format
- Type: System.String
A string that specifies the format in which to retrieve the data.
- autoConvert
- Type: System.Boolean
true to attempt to automatically convert the data to the specified format; false to perform no data format conversion.
If this parameter is false, the method returns data in the specified format if it is available; or returns null if the data is not available in the specified format.
Return Value
Type: System.ObjectA data object that has the data in the specified format; or null, if the data is not available in the specified format.
Show: