queryCommandSupportedqueryCommandSupported*
*Contents  *Index  *Topic Contents
*Previous Topic: queryCommandState
*Next Topic: queryCommandValue

queryCommandSupported

Description

Returns whether the current command is supported on the current range.

Syntax

Boolean = object.queryCommandSupported(command)

ParameterDescription
command (String) String that specifies the command to query. Can be any valid command identifier.

Return Value

Returns TRUE if the command is supported, or FALSE otherwise.

Applies To

document, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandValue


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