IHTMLDocument2::queryCommandValueIHTMLDocument2::queryCommandValue*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLDocument2::queryCommandText
*Next Topic: IHTMLDocument2::execCommand

IHTMLDocument2::queryCommandValue


HRESULT queryCommandValue(
    BSTR cmdID,
    VARIANT *pcmdValue
);

Retrieves the current value of the given command.

cmdID
String value that contains the identifier of a command. Can be any command identifier given in the list of Command Identifiers.
pcmdValue
Address of a VARIANT structure that receives a string representing the command value. If the command is not supported, this variable receives NULL.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.