description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: ICommandTextImpl Class |
ICommandTextImpl Class |
11/04/2016 |
|
|
9c2715cc-1e55-4468-8327-85341617ed46 |
Provides an implementation for the ICommandText interface.
template <class T >
class ATL_NO_VTABLE ICommandTextImpl
: public ICommandImpl<T, ICommandText>
T
The command class derived from ICommandTextImpl
.
Header: altdb.h
Name | Description |
---|---|
GetCommandText | Returns the text command set by the last call to SetCommandText. |
SetCommandText | Sets the command text, replacing the existing command text. |
Name | Description |
---|---|
m_strCommandText | Stores the command text. |
A mandatory interface on commands.
Returns the text command set by the last call to SetCommandText.
STDMETHOD(GetCommandText)(GUID * pguidDialect,
LPOLESTR * ppwszCommand);
See ICommandText::GetCommandText in the OLE DB Programmer's Reference. The pguidDialect parameter is ignored by default.
Sets the command text, replacing the existing command text.
STDMETHOD(SetCommandText)(REFGUID rguidDialect,
LPCOLESTR pwszCommand);
See ICommandText::SetCommandText in the OLE DB Programmer's Reference.
Stores the command text string.
CComBSTR m_strCommandText;
OLE DB Provider Templates
OLE DB Provider Template Architecture