IDataObject.GetFormats Method ()

 

Returns a list of all formats that the data in this data object is stored in, or can be converted to.

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

[SecurityCriticalAttribute]
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Clipboard = UIPermissionClipboard.AllClipboard)]
string[] GetFormats()

Return Value

Type: System.String[]

An array of strings, with each string specifying the name of a format supported by this data object.

For an implementation of this method, see GetFormats.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: