Share via


IVsComReference.MajorVersion Property

Definition

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

public:
 property System::UInt16 MajorVersion { System::UInt16 get(); void set(System::UInt16 value); };
public:
 property unsigned short MajorVersion { unsigned short get(); void set(unsigned short value); };
[System.Runtime.InteropServices.ComAliasName("OLE.WORD")]
[System.Runtime.InteropServices.DispId(1610743812)]
public ushort MajorVersion { get; set; }
[System.Runtime.InteropServices.ComAliasName("OLE.WORD")]
public ushort MajorVersion { get; set; }
[<System.Runtime.InteropServices.ComAliasName("OLE.WORD")>]
[<System.Runtime.InteropServices.DispId(1610743812)>]
member this.MajorVersion : uint16 with get, set
[<System.Runtime.InteropServices.ComAliasName("OLE.WORD")>]
member this.MajorVersion : uint16 with get, set
Public Property MajorVersion As UShort

Property Value

The major version number of the COM reference.

Attributes

Applies to