Reference2::MajorVersion Property

 

Gets the major version number of the reference. Read-only.

Namespace:   VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.dll)

property int MajorVersion {
	int get();
}

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.

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.

Return to top
Show: