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