Microsoft SDK for Java

Menu.getMenuItem

Retrieves the menu item at the specified index.

Syntax

public MenuItem getMenuItem( int index )

Parameters

index

The index of the menu item to retrieve.

Return Value

Returns a MenuItem object that specifies the requested item.

Exceptions

WFCInvalidArgumentException thrown if the value specified by the index parameter is out of range.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.