LocationMy.Application.Info.Version SyntaxDim result As System.Version = My.Application.Info.Version DescriptionThe Version property returns the version and revision numbers of the application as recorded in the assembly. The values are returned through an instance of the System.Version class. Public MembersThe System.Version object returned by this property includes the following version-specific components, each of type Integer.
Version numbers are generally presented to the user in the format: Major.Minor.Build.Revision Build and Revision are optional, and when not defined, their properties will return -1. Major and Minor are required. Usage at a Glance
ExampleThe following example displays the version number of the application. MsgBox("You are using version " & _ My.Application.Info.Version.ToString) Related Framework Entries
See AlsoInfo Object (My.Application) |