Exposes objects, methods and properties to programming tools and other applications that support Automation. COM components implement the IDispatch interface to enable access by Automation clients, such as Visual Basic.
The IDispatch interface inherits from the IUnknown interface. IDispatch also has these types of members:
The IDispatch interface has these methods.
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to Invoke.
Retrieves the type information for an object, which can then be used to get the type information for an interface.
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Provides access to properties and methods exposed by an object.
For an example on how to access a COM object through the IDispatch interface, see Implementing the IDispatch.