Compartir a través de


VirtualTypeBuilder.EventInfoCollection.Add Method (EventInfo)

Adds an EventInfo to the end of the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaración
Public Function Add ( _
    value As EventInfo _
) As Integer
'Uso
Dim instance As VirtualTypeBuilder..::..EventInfoCollection
Dim value As EventInfo
Dim returnValue As Integer

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.EventInfoCollection Class

VirtualTypeBuilder.EventInfoCollection Members

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace