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


IToolbarMenu.Caption Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IToolbarMenu.Caption Property

The caption used by the ToolbarMenu.

[Visual Basic .NET]
Public Property Caption As String
[C#]
public string Caption {get; set;}
[C++]
HRESULT get_Caption(
  BSTR pCaption
);
[C++]
HRESULT put_Caption(
  System.String* pCaption
);
[C++]

Parameters pCaption [in]
pCaption is a parameter of type BSTR pCaption [out, retval]
pCaption is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine.

Description

The Caption of the ToolbarMenu that is displayed on the ToolbarControl.

See Also

IToolbarMenu Interface

.NET Samples

Creating toolbar menus that work with the ToolbarControl (Code Files: ToolbarMenu) | Add a custom bookmarks MultiItem to the ToolbarControl (Code Files: MultiItemBookmarks) | Schematics Engine application (Code Files: MainForm)

.NET Related Topics

Enabling menu tracking on the ToolbarControl