AssemblyInfo.CompanyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the company name associated with the application.
public:
property System::String ^ CompanyName { System::String ^ get(); };
public string CompanyName { get; }
member this.CompanyName : string
Public ReadOnly Property CompanyName As String
Property Value
A String
that contains the company name associated with the application.
Exceptions
The assembly does not have an AssemblyCompanyAttribute attribute.
Examples
This example uses the My.Application.Info.CompanyName
property to display the company name associated with the application.
MsgBox("Application created by: " & My.Application.Info.CompanyName)
Remarks
The My.Application.Info.CompanyName
property gets the company name associated with the application.
You can change the company name by changing the value for Company 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 |