DataObject.SetData Method

 

Stores the specified data in this data object.

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

NameDescription
System_CAPS_pubmethodSetData(Object)

Stores the specified data in this data object, automatically determining the data format from the source object type.

System_CAPS_pubmethodSetData(String, Object)

Stores the specified data in this data object, along with one or more specified data formats; the data format is specified by a string.

System_CAPS_pubmethodSetData(String, Object, Boolean)

Stores the specified data in this data object, along with one or more specified data formats. This overload includes a Boolean flag to indicate whether the data can be converted to another format on retrieval.

System_CAPS_pubmethodSetData(Type, Object)

Stores the specified data in this data object, along with one or more specified data formats; the data format is specified by a Type object.

Return to top
Show: