EN
此内容没有您的语言版本,但有英语版本。

setContextMenu method

Constructs a context menu, as specified.

Syntax

var retval = external.setContextMenu(menuItemPairs);

Parameters

menuItemPairs [in]

Type: VARIANT

Specifies menu item pairs, which are command text and commands contained within the context menu.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

external

 

 

显示:
© 2015 Microsoft