Export (0) Print
Expand All

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.

Members

The IDispatch interface inherits from the IUnknown interface. IDispatch also has these types of members:

Methods

The IDispatch interface has these methods.

MethodDescription
GetIDsOfNames

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.

GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.

GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

Invoke

Provides access to properties and methods exposed by an object.

 

Examples

For an example on how to access a COM object through the IDispatch interface, see Implementing the IDispatch.

Requirements

IDL

OaIdl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft