Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

ProductName Property

Location

My.Application.Info.ProductName

Syntax

Dim result As String = My.Application.Info.ProductName

Description

The ProductName property returns the product name as defined in the informational section of the assembly.

Usage at a Glance

  • This property is read-only.

  • An exception occurs if the product name attribute, AssemblyProductAttribute (or <AssemblyProduct>), is undefined in the active assembly.

Related Framework Entries

  • Microsoft.VisualBasic.ApplicationServices.AssemblyInfo.ProductName Property

  • System.Diagnostics.FileVersionInfo.ProductName Property

See Also

CompanyName Property, Copyright Property, Description Property, Info Object (My.Application), Title Property, Trademark Property

Категории