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