AssemblyFileVersionAttribute(String) Constructor
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.
Initializes a new instance of the AssemblyFileVersionAttribute class, specifying the file version.
public:
AssemblyFileVersionAttribute(System::String ^ version);
public AssemblyFileVersionAttribute (string version);
new System.Reflection.AssemblyFileVersionAttribute : string -> System.Reflection.AssemblyFileVersionAttribute
Public Sub New (version As String)
Parameters
- version
- String
The file version.
Exceptions
version
is null
.
Remarks
The file version is normally a string of four numbers, separated by periods, reflecting the major version number, minor version number, build number, and revision number; for example, "1.0.4309.00". If version
is not in this format, a compiler warning occurs, and the results displayed in the file properties dialog are unpredictable. Wildcards are not supported.