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


IMultiItem.ItemCaption Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IM > IMultiItem Interface > IMultiItem.ItemCaption Property
ArcGIS Developer Help

IMultiItem.ItemCaption Property

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,
  System.String* itemName
);
[C++]
Parameters
index [in]

index is a parameter of type long itemName [out, retval]
itemName is a parameter of type BSTR*

Product Availability

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

Description

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

Remarks

When implementing IMultiItem to create a custom multiItem, write code in the ItemCaption property to set the caption for each item in the multiItem.

See Also

IMultiItem Interface