NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDataObject.SetData (Object)

Stores the specified data in this instance, using the class of the data for the format.

[Visual Basic]
Overloads Sub SetData( _
   ByVal data As Object _
)
[C#]
void SetData(
   object data
);
[C++]
void SetData(
   Object* data
) = 0;
[JScript]
function SetData(
   data : Object
);

Parameters

data
The data to store.

Remarks

The data format is its class. If you do not know the format of the target application, you can store data in multiple formats using this method.

Data stored using this method can be converted to a compatible format when it is retrieved.

For an implementation of this method, see SetData.

See Also

IDataObject Interface | IDataObject Members | System.WinForms Namespace | IDataObject.SetData Overload List | GetData | GetDataPresent | SetData