Επεξεργασία

Κοινή χρήση μέσω


AssemblyInfo.Title Property

Definition

Gets the title associated with the application.

public:
 property System::String ^ Title { System::String ^ get(); };
public string Title { get; }
member this.Title : string
Public ReadOnly Property Title As String

Property Value

A String containing the AssemblyTitleAttribute associated with the application.

Exceptions

The assembly does not have an AssemblyTitleAttribute attribute.

Examples

This example uses the My.Application.Info.Title property to display the title associated with the application.

MsgBox("Application title: " & My.Application.Info.Title)

Remarks

The My.Application.Info.Title property gets the title associated with the application.

You can change the title by changing the value for Title in the Assembly Information dialog box, accessible from the Application pane of the Project Designer.

Availability by Project Type

Project type Available
Windows Forms Application Yes
Class Library Yes
Console Application Yes
Windows Forms Control Library Yes
Web Control Library No
Windows Service Yes
Web Site No

Applies to

See also