Share via


VirtualTypeBuilder.ConstructorInfoCollection.Add Method (array<Type )

Adds an array of ConstructorInfo to the end of the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Function Add ( _
    argumentTypes As Type() _
) As Integer
public int Add(
    Type[] argumentTypes
)
public:
int Add(
    array<Type^>^ argumentTypes
)
member Add : 
        argumentTypes:Type[] -> int
public function Add(
    argumentTypes : Type[]
) : int

Parameters

  • argumentTypes
    Type: array<System.Type[]

    The types of arguments to be passed to the constructor. This can be nulla null reference (Nothing in Visual Basic) or an empty array to declare an empty constructor.

Return Value

Type: System.Int32
The VirtualTypeBuilder.ConstructorInfoCollection index at which the value has been added.

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.ConstructorInfoCollection Class

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace