VirtualTypeBuilder.ConstructorInfoCollection.Add 方法 (array<Type )

添加一个数组 ConstructorInfo 到集合的末尾。

命名空间:  Microsoft.VisualStudio.Shell.Design
程序集:  Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)

语法

声明
Public Function Add ( _
    argumentTypes As Type() _
) As Integer
public int Add(
    Type[] argumentTypes
)

参数

  • argumentTypes
    类型:array<System.Type[]
    将传递的参数的类型传递给构造函数。这可能是 nullnull 引用(在 Visual Basic 中为 Nothing) 或声明一个空构造函数的空数组。

返回值

类型:System.Int32
VirtualTypeBuilder.ConstructorInfoCollection 索引,已在此处添加了值。

.NET Framework 安全性

请参见

参考

VirtualTypeBuilder.ConstructorInfoCollection 类

Add 重载

Microsoft.VisualStudio.Shell.Design 命名空间