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(
  BSTR pCaption
);
[C++]

Parameters

pCaption [out, retval]   pCaption is a parameter of type BSTR pCaption [in]   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

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

.NET Related Topics

Enabling menu tracking on the ToolbarControl |