Name

Application.CompanyName Property

Class

System.Windows.Forms.Application

Syntax

Application.CompanyName(  )

Return Value

A String containing the company name for the application

Description

Gets the company name for the application. This is a read-only property.

The value of the CompanyName property can be defined by including the <AssemblyCompany> attribute in the AssemblyInfo file for the application. Its syntax is:

<Assembly: AssemblyCompany("sCompany")>

where sCompany is a string literal containing the company name.

Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.