Reference2.MajorVersion Property
Gets the major version number of the reference. Read-only.
Namespace: VSLangProj2
Assembly: VSLangProj2 (in VSLangProj2.dll)
Syntax
'Declaration
ReadOnly Property MajorVersion As Integer
int MajorVersion { get; }
property int MajorVersion {
int get ();
}
abstract MajorVersion : int with get
function get MajorVersion () : int
Property Value
Type: Int32
An integer whose value depends on the reference type.
Reference Type |
Value Returned |
---|---|
Assembly |
Major release number of the reference; 0–9999. |
COM |
A long value. |
Remarks
The version of a reference is uniquely identified by four components: major, minor, build, and revision. The major and minor components are required. The revision component is optional when build is not defined. COM objects do not have revision and build components. For more information, see Assembly Versioning.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.