Export (0) Print
Expand All

setContextMenu method

Constructs a context menu, as specified.

Syntax


HRESULT retVal = object.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.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft