Click or drag to resize

GetDataObjectEventArgs Methods

The GetDataObjectEventArgs type exposes the following members.

Methods
  NameDescription
Public methodAddDataObject(IWithIdList)
Adds a data object to the list. All PIDLs added to the collection must share the same parent PIDL. The first PIDL added will determine the common parent PIDL. If the first PIDL added has no parent, nothing will be added.
Public methodAddDataObject(ShellItemIdList)
Adds a data object to the list using its PIDL. All PIDLs added to the collection must share the same parent PIDL. The first PIDL added will determine the common parent PIDL. If the first PIDL added has no parent, nothing will be added.
Public methodAddDataObjects
Adds a list of data objects to the list. All PIDLs added to the collection must share the same parent PIDL. The first PIDL added will determine the common parent PIDL. If the first PIDL added has no parent, nothing will be added.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddCF_HDROP
Adds a CF_HDROP format to the data object.
(Defined by Extensions.)
Public Extension MethodAddCFSTR_SHELLIDLIST
Adds a CFSTR_SHELLIDLIST format to the data object.
(Defined by Extensions.)
Public Extension MethodAddFormat(Int32, Byte)Overloaded.
Adds a format to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Public Extension MethodAddFormat(String, Byte)Overloaded.
Adds a format to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Public Extension MethodAddFormat(Int32, String, Encoding)Overloaded.
Adds a text to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Public Extension MethodAddFormat(String, String, Encoding)Overloaded.
Adds a format to the data object. This format will be used only if at least one DataObject is added.
(Defined by Extensions.)
Top
See Also