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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.