TypeLibVersionAttribute(Int32, Int32) 建構函式

定義

使用型別程式庫的主要和次要版本號碼,初始化 TypeLibVersionAttribute 類別的新執行個體。

public:
 TypeLibVersionAttribute(int major, int minor);
public TypeLibVersionAttribute (int major, int minor);
new System.Runtime.InteropServices.TypeLibVersionAttribute : int * int -> System.Runtime.InteropServices.TypeLibVersionAttribute
Public Sub New (major As Integer, minor As Integer)

參數

major
Int32

型別程式庫的主要版本號碼。

minor
Int32

型別程式庫的次要版本號碼。

適用於