This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControl Interface > IARControl.ARCommandInfo Property (ArcObjects .NET 10.5 SDK) |
The ARCommandInfo contained by the control.
[Visual Basic .NET] Public Function get_ARCommandInfo ( _ ByVal tool As esriARTool _ ) As ARCommandInfo
[C#] public ARCommandInfo get_ARCommandInfo ( esriARTool tool );
Returns command information about the specified esriARTool. This includes a command's Bitmap, Message, Caption and Tooltip properties.
In C# use the get_ARCommandInfo method, as indexed property accessors are not supported.
The IARControl, (and higher numbered IARControl interfaces) and IARControlDefault interfaces have a default indexed property called ARCommandInfo. The ArcReaderControl interop assembly which provides access to these interfaces have the default ARCommandInfo property. However, if you are working directly with the AxArcReaderControl class use the get_ARCommandInfo method.