IDataObject..::.SetData Method Home
This page is specific to:.NET Framework Version:3.03.54.0
.NET Framework Class Library
IDataObject..::.SetData Method

Stores the specified data in this data object.

Overload List

  NameDescription
Public methodSetData(Object)Stores the specified data in this data object, automatically converting the data format from the source object type.
Public methodSetData(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.
Public methodSetData(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.
Public methodSetData(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.
Top
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View