Class AssemblyVersionAttribute
Specifies the version of the assembly being attributed.
Inherited Members
Namespace: System.Reflection
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyVersionAttribute : Attribute
Constructors
AssemblyVersionAttribute(string)
Initializes a new instance of the AssemblyVersionAttribute class with the version number of the assembly being attributed.
Declaration
public AssemblyVersionAttribute(string version)
Parameters
Type | Name | Description |
---|---|---|
string | version | The version number of the attributed assembly. |
Properties
Version
Gets the version number of the attributed assembly.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
string | A string containing the assembly version number. |