ArcObjects Library Reference (SystemUI)  

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,
  BSTR* 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