ArcObjects Library Reference (Framework)  

ICommandItem.Refresh Method

Causes the command to be redrawn.

[Visual Basic .NET]
Public Sub Refresh ( _
public void Refresh (

Product Availability

Available with ArcGIS Desktop.


Causes the command item to be redrawn on the CommandBar in order to correctly display any new property changes.

It is generally unnecessary to explicitly call Refresh; CommandItem updates such as setting the caption, image, and style all automatically call Refresh.

See Also

ICommandItem Interface