共用方式為


VirtualTypeBuilder.ConstructorInfoCollection.Add Method

Include Protected Members
Include Inherited Members

Adds a ConstructorInfo to the end of the VirtualTypeBuilder.ConstructorInfoCollection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(ConstructorInfo) Adds a ConstructorInfo to the end of the collection.
Public method Add(array<Type[]) Adds an array of ConstructorInfo to the end of the collection.
Public method Add(array<Type[], array<Attribute[]) Adds an array of ConstructorInfo to the end of the collection.

Top

Remarks

Adds a new ConstructorInfo to the collection of constructors this type builder will produce on the final type.

See Also

Reference

VirtualTypeBuilder.ConstructorInfoCollection Class

Microsoft.VisualStudio.Shell.Design Namespace