This document is archived and information here might be outdated.  Recommended version.


IApplication.Caption Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IA > IApplication Interface > IApplication.Caption Property
ArcGIS Developer Help

IApplication.Caption Property

The caption of this application.

[Visual Basic .NET]
Public Property Caption As String
[C#]
public string Caption {get; set;}

Product Availability

Available with ArcGIS Desktop.

Description

The Caption is the string that appears as the title of the application's main window.

[C#]

The following function sets the title of the main desktop application window.

public void SetCaption(IApplication app)
{
   app.Caption = "My Custom Application";
}
[Visual Basic .NET]

The following Sub sets the title of the main desktop application window.

 Public Sub SetCaption(app As IApplication)
   app.Caption = "My Custom Application"
 End Sub 

See Also

IApplication Interface