共用方式為


ICommandTextImpl Class

Provides an implementation for the ICommandText interface.

template <class T >
class ATL_NO_VTABLE ICommandTextImpl 
   : public ICommandImpl<T, ICommandText>

Parameters

  • T
    The command class derived from ICommandTextImpl.

Members

Interface Methods

GetCommandText

Returns the text command set by the last call to SetCommandText.

SetCommandText

Sets the command text, replacing the existing command text.

Data Members

m_strCommandText

Stores the command text.

Remarks

A mandatory interface on commands.

Requirements

Header: altdb.h

See Also

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture