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
'Usage
Dim instance As VirtualTypeBuilder..::..ConstructorInfoCollection
Dim argumentTypes As Type()
Dim returnValue As Integer
returnValue = instance.Add(argumentTypes)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
VirtualTypeBuilder.ConstructorInfoCollection Class