ArcObjects Library Reference (PublisherControls)  

IARControl.ARCommandInfo Property

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
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Returns command information about the specified esriARTool. This includes a command's Bitmap, Message, Caption and Tooltip properties.

[C#]

In C# use the get_ARCommandInfo method, as indexed property accessors are not supported.

[Visual Basic .NET]

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.

See Also

IARControl Interface