Major Property

Applies To

Reference object.

Description

The Major property of a Reference object returns a Long value indicating the major version number of an application to which you have set a reference.

Setting

The Major property is available only by using Visual Basic and is read-only.

Remarks

The Major property returns the value to the left of the decimal point in a version number. For example, if you've set a reference to an application whose version number is 2.5, the Major property returns 2.

See Also

Minor property.

Example

See the FullPath property example.