ComCompatibleVersionAttribute(Int32, Int32, Int32, Int32) 构造函数
定义
使用程序集的主版本、次版本、内部版本号和修订号初始化 ComCompatibleVersionAttribute 类的新实例。Initializes a new instance of the ComCompatibleVersionAttribute class with the major version, minor version, build, and revision numbers of the assembly.
public:
ComCompatibleVersionAttribute(int major, int minor, int build, int revision);
public ComCompatibleVersionAttribute (int major, int minor, int build, int revision);
new System.Runtime.InteropServices.ComCompatibleVersionAttribute : int * int * int * int -> System.Runtime.InteropServices.ComCompatibleVersionAttribute
Public Sub New (major As Integer, minor As Integer, build As Integer, revision As Integer)
参数
- major
- Int32
程序集的主版本号。The major version number of the assembly.
- minor
- Int32
程序集的次版本号。The minor version number of the assembly.
- build
- Int32
程序集的生成号。The build number of the assembly.
- revision
- Int32
程序集的修订号。The revision number of the assembly.