Partager via


DataObject.GetFormats Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Returns a list of formats that the data in this data object is stored in, or can be converted to. Use only the GetFormats() signature; the others always throw exceptions.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetFormats() Returns a list of all formats that the data in this data object is stored in, or can be converted to.
Public method GetFormats(Boolean) Returns a list of all formats that the data in this data object is stored in. A Boolean flag indicates whether to also include formats that the data can be automatically converted to. Always throws an exception.

Top