AssemblyInfo.AssemblyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name, without the extension, of the assembly file for the application.
public:
property System::String ^ AssemblyName { System::String ^ get(); };
public string AssemblyName { get; }
member this.AssemblyName : string
Public ReadOnly Property AssemblyName As String
Property Value
A String
containing the file name.
Examples
This example uses the My.Application.Info.AssemblyName
property to display the name of the application.
MsgBox("Application assembly name: " & My.Application.Info.AssemblyName)
Remarks
The My.Application.Info.AssemblyName
property gets the name of the file containing the manifest.
Availability by Project Type
Project type | Available |
---|---|
Windows Forms Application | Yes |
Class Library | Yes |
Console Application | Yes |
Windows Forms Control Library | Yes |
Web Control Library | No |
Windows Service | Yes |
Web Site | No |
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.