CodeTypeMemberCollection::Remove Method (CodeTypeMember^)
.NET Framework (current version)
Removes a specific CodeTypeMember from the collection.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System.CodeDom::CodeTypeMember^
The CodeTypeMember to remove from the collection.
| Exception | Condition |
|---|---|
| ArgumentException | The specified object is not found in the collection. |
The following code example demonstrates how to use the Remove method to delete a CodeTypeMember object from a CodeTypeMemberCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: