This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IM > IMenuDef Interface > IMenuDef.Caption Property (ArcObjects .NET 10.4 SDK) |
The caption of this menu.
[Visual Basic .NET] Public ReadOnly Property Caption As String
[C#] public string Caption {get;}
[C++]
HRESULT get_Caption(
BSTR* Name
);
[C++]
Parameters Name [out, retval] Name is a parameter of type BSTR
When implementing IMenuDef to create a custom menu, use the Caption property to set the caption of this menu.