Contents Index Topic Contents | ||
Previous Topic: IHTMLDocument2::queryCommandIndeterm Next Topic: IHTMLDocument2::queryCommandValue |
IHTMLDocument2::queryCommandText
HRESULT queryCommandText( BSTR cmdID, BSTR *pcmdText );Returns the string associated with a command.
- Returns S_OK if successful, or an error value otherwise.
- cmdID
- String value that contains the identifier of a command. Can be any command identifier given in the list of Command Identifiers.
- pcmdText
- Address of a string variable where the text associated with the command will be stored.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.