共用方式為


COleDispatchDriver Members

Data Members

m_bAutoRelease

Specifies whether to release the IDispatch during ReleaseDispatch or object destruction.

m_lpDispatch

Indicates the pointer to the IDispatch interface attached to this COleDispatchDriver.

Construction

COleDispatchDriver

Constructs a COleDispatchDriver object.

Operations

AttachDispatch

Attaches an IDispatch connection to the COleDispatchDriver object.

CreateDispatch

Creates an IDispatch connection and attaches it to the COleDispatchDriver object.

DetachDispatch

Detaches an IDispatch connection, without releasing it.

GetProperty

Gets an automation property.

InvokeHelper

Helper for calling automation methods.

ReleaseDispatch

Releases an IDispatch connection.

SetProperty

Sets an automation property.

Operators

operator =

Copies the source value into the COleDispatchDriver object.

operator LPDISPATCH

Accesses the underlying IDispatch pointer.

See Also

Concepts

COleDispatchDriver Class

Hierarchy Chart