Udostępnij za pośrednictwem


IDataObject.SetData 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

Stores the specified data in this data object.

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 methodSupported by Silverlight for Windows Phone SetData(Object) Stores the specified data in this data object, and automatically converts the data format from the source object type.
Public methodSupported by Silverlight for Windows Phone SetData(String, Object) Stores the specified data in this data object, using one or more specified data formats. The data format is specified by a string.
Public methodSupported by Silverlight for Windows Phone SetData(Type, Object) Stores the specified data in this data object, using one or more specified data formats. The data format is specified by a Type class.
Public methodSupported by Silverlight for Windows Phone SetData(String, Object, Boolean) Stores the specified data in this data object, using one or more specified data formats. This overload includes a Boolean flag to indicate whether the data may be converted to another format on retrieval.

Top