Export (0) Print
Expand All

TypeLibVersionAttribute Constructor

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Initializes a new instance of the TypeLibVersionAttribute class with the major and minor version numbers of the type library.

[Visual Basic]
Public Sub New( _
   ByVal major As Integer, _
   ByVal minor As Integer _
)
[C#]
public TypeLibVersionAttribute(
   int major,
 int minor
);
[C++]
public: TypeLibVersionAttribute(
   int major,
 int minor
);
[JScript]
public function TypeLibVersionAttribute(
   major : int,
 minor : int
);

Parameters

major
The major version number of the type library.
minor
The minor version number of the type library.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypeLibVersionAttribute Class | TypeLibVersionAttribute Members | System.Runtime.InteropServices Namespace

Show:
© 2014 Microsoft