Stores the specified data and its associated format in this instance.
[Visual Basic] Overloads Sub SetData( _ ByVal format As String, _ ByVal data As Object _ ) [C#] void SetData( string format, object data ); [C++] void SetData( String* format, Object* data ) = 0; [JScript] function SetData( format : String, data : Object );
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.
IDataObject Interface | IDataObject Members | System.WinForms Namespace | IDataObject.SetData Overload List | GetData | GetDataPresent | SetData