VirtualTypeBuilder.ConstructorInfoCollection.Remove Method
Removes the first occurrence of a specific ConstructorInfo 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 ConstructorInfo _
)
'Usage
Dim instance As VirtualTypeBuilder..::..ConstructorInfoCollection
Dim value As ConstructorInfo
instance.Remove(value)
public void Remove(
ConstructorInfo value
)
public:
void Remove(
ConstructorInfo^ value
)
member Remove :
value:ConstructorInfo -> unit
public function Remove(
value : ConstructorInfo
)
Parameters
- value
Type: System.Reflection.ConstructorInfo
The ConstructorInfo 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.ConstructorInfoCollection Class