Dela via


OleDataObject.SetData Method

Include Protected Members
Include Inherited Members

Adds an object to the DataObject.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

SetData(Object)

Adds the specified object to the DataObject using the object type as the data format. (Inherited from DataObject.)

Public method

SetData(String, Object)

Adds the specified object to the DataObject using the specified format. (Inherited from DataObject.)

Public method

SetData(Type, Object)

Adds the specified object to the DataObject using the specified type as the format. (Inherited from DataObject.)

Public method

SetData(String, Boolean, Object)

Adds the specified object to the DataObject using the specified format and indicating whether the data can be converted to another format. (Inherited from DataObject.)

Top

See Also

Reference

OleDataObject Class

OleDataObject Members

Microsoft.VisualStudio.Shell Namespace