This document is archived and information here might be outdated.  Recommended version.


IMultiItem.ItemChecked Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

IMultiItem.ItemChecked Property

Indicates if item at the specified index is checked.

[Visual Basic .NET]
Public Function get_ItemChecked ( _
    ByVal index As Integer _
) As Boolean
[C#]
public bool get_ItemChecked (
    int index
);
[C++]
HRESULT get_ItemChecked(
  long index,
  VARIANT_BOOL* bChecked
);
[C++]

Parameters index [in] index is a parameter of type long bChecked [out, retval] bChecked is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Index specifies the index of the current item on the multiItem.

Remarks

The Checked property indicates the state of the items in the multiItem. If the bitmap of an item appears depressed on the menu, the item is checked. Commands and items that serve as a toggle will be checked when that toggle is on.
A system event is periodically called to set the state of the commands and items on commandbars and menus indicating which ones are checked.

See Also

IMultiItem Interface