VirtualTypeBuilder::ConstructorInfoCollection::Add Method (array<Type^>^, array<Attribute^>^)

 

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)

public:
int Add(
	array<Type^>^ argumentTypes,
	array<Attribute^>^ attributes
)

Parameters

argumentTypes
Type: array<System::Type^>^

The types of arguments to be passed to the constructor. This can be null or an empty array to declare an empty constructor.

attributes
Type: array<System::Attribute^>^

An array of attributes to be attached to this constructor. This may be null or empty.

Return Value

Type: System::Int32

The index at which the value has been added.

Return to top
Show: