共用方式為


COMREFERENCE.wVerMajor Field

WORD containing the COM objects major version number.

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

Syntax

'宣告
Public wVerMajor As UShort
'用途
Dim instance As COMREFERENCE
Dim value As UShort

value = instance.wVerMajor

instance.wVerMajor = value
public ushort wVerMajor
public:
unsigned short wVerMajor
val mutable wVerMajor: uint16
public var wVerMajor : ushort

Remarks

COM Signature

From vsshell.idl:

.NET Framework Security

See Also

Reference

COMREFERENCE Structure

COMREFERENCE Members

Microsoft.VisualStudio.Shell.Interop Namespace