Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

queryCommandValue method

Returns the current value of the document, range, or current selection for the given command.

Syntax

object.queryCommandValue(cmdID)

Parameters

cmdID [in]

Type: String

String that specifies a command identifier.

Return value

Type: Variant

Variant that returns the command value for the document, range, or current selection, if supported. Possible values depend on cmdID. If not supported, this method returns a Variant of type Boolean set to false.

Standards information

There are no standards that apply here.

See also

controlRange
document
TextRange
Reference
execCommand
queryCommandEnabled
queryCommandIndeterm
queryCommandState
queryCommandSupported

 

 

Anzeigen:
© 2015 Microsoft