VB.NET Language in a Nutshell

   
Application.ProductName Property

Class

System.Windows.Forms.Application

Syntax

Application.ProductName( )

Return Value

A String containing the product name of the application

Description

Gets the product name of the application. This is a read-only property.

The value of the ProductName property can be defined by including the <AssemblyProduct> attribute in the application's AssemblyInfo file. Its syntax is:

<Assembly: AssemblyProduct(" sProduct ")>

where sProduct is a string literal containing the product name.

VB.NET/VB 6 Differences

The ProductName property in the .NET Framework corresponds to the App. ProductName property in VB 6.

See Also

Application Class, Application.CompanyName Property, Application.ProductVersion Property

   

Категории