IDataObject.SetData Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 converting 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 may 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 class.

Return to top
Show: