Udostępnij za pośrednictwem


Metoda VirtualTypeBuilder.ConstructorInfoCollection.Add — (array<Type )

Dodaje tablicę ConstructorInfo do końca kolekcji.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell.Design
Zestaw:  Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)

Składnia

'Deklaracja
Public Function Add ( _
    argumentTypes As Type() _
) As Integer
public int Add(
    Type[] argumentTypes
)

Parametry

  • argumentTypes
    Typ: array<System.Type[]
    Typy argumentów, które mają być przekazywane do konstruktora.Może to być nullodwołanie o wartości null (Nothing w języku Visual Basic) lub pustą tablicę zadeklarować pustego konstruktora.

Wartość zwracana

Typ: System.Int32
VirtualTypeBuilder.ConstructorInfoCollection Indeksu, w którym wartość zostały dodane.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

VirtualTypeBuilder.ConstructorInfoCollection Klasa

Przeciążenie Add

Przestrzeń nazw Microsoft.VisualStudio.Shell.Design