共用方式為


DataObject.GetData 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

Retrieves a data object in a specified data format. Use only the GetData(String) 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 GetData(String) Retrieves a data object in a specified format; the data format is specified by a string.
Public method GetData(Type) Retrieves a data object in a specified format; the data format is specified by a Type object. Always throws an exception.
Public method GetData(String, Boolean) Retrieves a data object in a specified format, optionally converting the data to the specified format. Always throws an exception.

Top