VirtualTypeBuilder.MethodInfoCollection.Remove Method
Removes the first occurrence of a specific MethodInfo 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 MethodInfo _
)
public void Remove(
MethodInfo value
)
public:
void Remove(
MethodInfo^ value
)
member Remove :
value:MethodInfo -> unit
public function Remove(
value : MethodInfo
)
Parameters
value
Type: System.Reflection.MethodInfoThe MethodInfo 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.