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

AssemblyName Property

Location

My.Application.Info.AssemblyName

Syntax

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

Description

The AssemblyName property returns the name of the assembly file for the application, first removing the extension. This file contains the manifest for the assembly.

Usage at a Glance

  • This property is read-only.

  • Any file extension, such as ".exe" or ".dll," is first removed before reporting the assembly name through this property.

Related Framework Entries

  • Microsoft.VisualBasic.ApplicationServices.AssemblyInfo.AssemblyName Property

  • System.Reflection.AssemblyName.Name Property

See Also

DirectoryPath Property, Info Object (My.Application), LoadedAssemblies Property

Категории