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
'Declaración
Public Sub Remove ( _
value As EventInfo _
)
'Uso
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
- value
Type: System.Reflection.EventInfo
The EventInfo to remove from the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
VirtualTypeBuilder.EventInfoCollection Class