Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Entfernt das angegebene CodeCommentStatement aus der Auflistung.
Namespace: System.CodeDom
Assembly: System (in system.dll)
Syntax
'Declaration
Public Sub Remove ( _
value As CodeCommentStatement _
)
'Usage
Dim instance As CodeCommentStatementCollection
Dim value As CodeCommentStatement
instance.Remove(value)
public void Remove (
CodeCommentStatement value
)
public:
void Remove (
CodeCommentStatement^ value
)
public void Remove (
CodeCommentStatement value
)
public function Remove (
value : CodeCommentStatement
)
Parameter
- value
Das aus der Auflistung zu entfernende CodeCommentStatement.
Ausnahmen
| Ausnahmetyp | Bedingung |
|---|---|
Das angegebene Objekt wurde nicht in der Auflistung gefunden. |
Beispiel
' Removes the specified CodeCommentStatement from the collection.
Dim comment As New CodeCommentStatement("Test comment")
collection.Remove(comment)
// Removes the specified CodeCommentStatement from the collection.
CodeCommentStatement comment = new CodeCommentStatement("Test comment");
collection.Remove( comment );
// Removes the specified CodeCommentStatement from the collection.
CodeCommentStatement^ comment = gcnew CodeCommentStatement( "Test comment" );
collection->Remove( comment );
// Removes the specified CodeCommentStatement from the collection.
CodeCommentStatement comment = new CodeCommentStatement("Test comment");
collection.Remove(comment);
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
CodeCommentStatementCollection-Klasse
CodeCommentStatementCollection-Member
System.CodeDom-Namespace