IDispatch Interface [Automation]
The IDispatch interface 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.
For an example on how to access a COM object through the IDispatch interface, see Implementing the IDispatch Interface [Automation].
IUnknown Methods | Description |
|---|---|
Returns pointers to supported interfaces. | |
Increments reference count. | |
Decrements reference count. |
IDispatch Methods | Description |
|---|---|
Retrieves the number of type information interfaces that an object provides (either 0 or 1). | |
Gets the type information for an object. | |
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs. | |
Provides access to properties and methods exposed by an object. |