Freigeben über


VirtualTypeBuilder.EventInfoCollection.Remove Method

Removes the first occurrence of a specific EventInfo from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    value As EventInfo _
)
'Usage
Dim instance As VirtualTypeBuilder..::..EventInfoCollection
Dim value As EventInfo

instance.Remove(value)
public void Remove(
    EventInfo value
)
public:
void Remove(
    EventInfo^ value
)
member Remove : 
        value:EventInfo -> unit 
public function Remove(
    value : EventInfo
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

value is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.EventInfoCollection Class

VirtualTypeBuilder.EventInfoCollection Members

Microsoft.VisualStudio.Shell.Design Namespace