Click or drag to resize

ListViewDragDropDataObject Methods

The ListViewDragDropDataObject type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetData(String) Retrieves a data object in a specified format; the data format is specified by a string.
Public methodGetData(Type) Retrieves a data object in a specified format; the data format is specified by a Type object.
Public methodGetData(String, Boolean) Retrieves a data object in a specified format, optionally converting the data to the specified format.
Public methodGetDataPresent(String) Checks to see whether the data is available in, or can be converted to, a specified format; the data format is specified by a string.
Public methodGetDataPresent(Type) Checks to see whether the data is available in, or can be converted to, a specified format. The data format is specified by a Type object.
Public methodGetDataPresent(String, Boolean) Checks to see whether the data is available in, or can be converted to, a specified format. A Boolean flag indicates whether to check if the data can be converted to the specified format, if it is not available in that format.
Public methodGetFormats Returns a list of all formats that the data in this data object is stored in, or can be converted to.
Public methodGetFormats(Boolean) Returns a list of all formats that the data in this data object is stored in. A Boolean flag indicates whether or not to also include formats that the data can be automatically converted to.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
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.
Public methodSetFormats Builds the list of clipboard formats currently available from this data object.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also