OnDemandDataObject Class |
Namespace: ShellBoost.Core
public class OnDemandDataObject : IDisposable
The OnDemandDataObject type exposes the following members.
| Name | Description | |
|---|---|---|
| OnDemandDataObject |
Initializes a new instance of the OnDemandDataObject class.
|
| Name | Description | |
|---|---|---|
| AddDefaultFormats |
Gets a value indicating whether to add CF_HDROP and CFSTR_SHELLIDLIST automatically from current shell items.
| |
| Cookie |
Gets the private cookie.
| |
| Folder |
Gets the opened Shell Folder instance.
| |
| Hwnd |
Gets the owner window handle. May be IntPtr.Zero depending on context.
| |
| Items |
Gets the context shell items.
|
| Name | Description | |
|---|---|---|
| AddFormat |
Adds a format to the object.
Note the format content is genererally not defined at this moment.
| |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
| EnumerateFormats |
Enumerates the available formats.
| |
| Finalize |
Finalizes an instance of the OnDemandDataObject class.
(Overrides ObjectFinalize.) | |
| GetCompatibleMedium |
Gets a medium compatible with the given format, from an incompatible original medium.
| |
| GetFormat |
Gets a specific format.
| |
| GetMedium |
Gets a medium for this object for the specific format.
| |
| OnMediumGet |
Called when a medium is requested.
| |
| OnMediumSet |
Called when a medium is set for this object in a specific format.
| |
| OnQueryData |
Called when a format is queried for.
| |
| RemoveAllFormats |
Removes all formats.
| |
| RemoveFormat(Int32) |
Removes a format.
| |
| RemoveFormat(String) |
Removes a format.
| |
| SetMedium |
Sets a medium for this object in a specific format.
|
| Name | Description | |
|---|---|---|
| MediumGet |
Occurs when a medium is requested.
This event also happens at format level if not handled at this instance level.
| |
| MediumSet |
Occurs when a medium is set for this object in a specific format.
| |
| QueryData |
Occurs when a format is queried for.
|