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.ItemCaption Property (ArcObjects .NET 10.5 SDK) |
The caption of the item at the specified index.
[Visual Basic .NET] Public Function get_ItemCaption ( _ ByVal index As Integer _ ) As String
[C#] public string get_ItemCaption ( int index );
[C++]
HRESULT get_ItemCaption(
long index,
BSTR* itemName
);
[C++]
Parameters index [in] index is a parameter of type long itemName [out, retval] itemName is a parameter of type BSTR
Index specifies the index of the current item on the multiItem.
When implementing IMultiItem to create a custom multiItem, write code in the ItemCaption property to set the caption for each item in the multiItem.