Edit

Share via


AssemblyFileVersionAttribute(String) Constructor

Definition

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.

Applies to