This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarBuddy Interface > IToolbarBuddy.CurrentTool Property (ArcObjects .NET 10.5 SDK) |
Current active tool for the buddy.
[Visual Basic .NET] Public Property CurrentTool As ITool
[C#] public ITool CurrentTool {get; set;}
[C++]
HRESULT get_CurrentTool(
ITool** pTool
);
[C++]
HRESULT putref_CurrentTool(
ITool* pTool
);
[C++]
Parameters pTool [out, retval]
pTool is a parameter of type ITool pTool [in]
pTool is a parameter of type ITool
The CurrentTool is the tool used to interact with the display area of the IToolbarControl::Buddy. The IToolbarBuddy references this tool so that it can: