Поделиться через


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
    Get
int MajorVersion { get; }
property int MajorVersion {
    int get ();
}
abstract MajorVersion : int
function get MajorVersion () : int

Property Value

Type: System.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.

Implements

Reference.MajorVersion

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

See Also

Reference

Reference2 Interface

MajorVersion Overload

VSLangProj2 Namespace