Gets the major version number of the COM component.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides ReadOnly Property MajorVersion As Integer
'使用
Dim instance As OAComReference
Dim value As Integer
value = instance.MajorVersion
public override int MajorVersion { get; }
public:
virtual property int MajorVersion {
int get () override;
}
public override function get MajorVersion () : int
Property Value
Type: System.Int32
The major version number of the component.
Implements
Permissions
- 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.