Click or drag to resize

DataObject Methods

The DataObject type exposes the following members.

Methods
  NameDescription
Public methodClear
Clears the data object
Public methodContains
Gets a value indicating that data with the specified type is contained in the data object.
Public methodGetData
Gets a byte array from the data object with the specified type identifier.
Public methodGetDataStream
Gets the data stream with the specified type identifier.
Public methodGetObject(String)
Gets a serialized value with the specified type identifier.
Public methodGetObjectT(String)
Gets an object from the data object with the specified type
Public methodGetString
Gets a string from the data object with the specified type identifier.
Public methodSetData
Sets a data array for the specified type identifier.
Public methodSetDataStream
Sets a data stream into the clipboard with the specified type identifier.
Public methodSetObject
Sets the value into the data object with the specified type using serialization or type converter
Public methodSetString
Sets a string into the data object with the specified custom type.
Top
See Also