Freigeben über


VirtualTypeBuilder.ConstructorInfoCollection.Add Method (ConstructorInfo)

Adds a 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 ( _
    value As ConstructorInfo _
) As Integer
'Usage
Dim instance As VirtualTypeBuilder..::..ConstructorInfoCollection
Dim value As ConstructorInfo
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add(
    ConstructorInfo value
)
public:
int Add(
    ConstructorInfo^ value
)
member Add : 
        value:ConstructorInfo -> int 
public function Add(
    value : ConstructorInfo
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.ConstructorInfoCollection Class

VirtualTypeBuilder.ConstructorInfoCollection Members

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace