Click or drag to resize

OnDemandDataObject Class

Represents a data object that gives information when asked to, instead of putting it in initially. This implementation doesn't store any data, only the formats referencing data.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.CoreOnDemandDataObject

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public class OnDemandDataObject : IDisposable

The OnDemandDataObject type exposes the following members.

Constructors
  NameDescription
Public methodOnDemandDataObject
Initializes a new instance of the OnDemandDataObject class.
Top
Properties
  NameDescription
Public propertyAddDefaultFormats
Gets a value indicating whether to add CF_HDROP and CFSTR_SHELLIDLIST automatically from current shell items.
Protected propertyCookie
Gets the private cookie.
Public propertyFolder
Gets the opened Shell Folder instance.
Public propertyHwnd
Gets the owner window handle. May be IntPtr.Zero depending on context.
Public propertyItems
Gets the context shell items.
Top
Methods
  NameDescription
Public methodAddFormat
Adds a format to the object. Note the format content is genererally not defined at this moment.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Protected methodEnumerateFormats
Enumerates the available formats.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the OnDemandDataObject class.
(Overrides ObjectFinalize.)
Protected methodGetCompatibleMedium
Gets a medium compatible with the given format, from an incompatible original medium.
Protected methodGetFormat
Gets a specific format.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetMedium
Gets a medium for this object for the specific format.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnMediumGet
Called when a medium is requested.
Protected methodOnMediumSet
Called when a medium is set for this object in a specific format.
Protected methodOnQueryData
Called when a format is queried for.
Public methodRemoveAllFormats
Removes all formats.
Public methodRemoveFormat(Int32)
Removes a format.
Public methodRemoveFormat(String)
Removes a format.
Protected methodSetMedium
Sets a medium for this object in a specific format.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventMediumGet
Occurs when a medium is requested. This event also happens at format level if not handled at this instance level.
Public eventMediumSet
Occurs when a medium is set for this object in a specific format.
Public eventQueryData
Occurs when a format is queried for.
Top
See Also