Application.ProductName Property

   
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

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net