Share via


IVsComReference.MajorVersion Property

Gets or sets the major version number of the COM reference.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Property MajorVersion As UShort
ushort MajorVersion { get; set; }
property unsigned short MajorVersion {
    unsigned short get ();
    void set (unsigned short value);
}
abstract MajorVersion : uint16 with get, set
function get MajorVersion () : ushort 
function set MajorVersion (value : ushort)

Property Value

Type: UInt16
The major version number of the COM reference.

.NET Framework Security

See Also

Reference

IVsComReference Interface

Microsoft.VisualStudio.Shell.Interop Namespace