This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IM > IMultiItem Interface > IMultiItem.ItemChecked Property (ArcObjects .NET 10.5 SDK) |
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
Index specifies the index of the current item on the multiItem.
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.