CodeStatementCollection.Remove-Methode
Entfernt die angegebene CodeStatementaus der Auflistung.
Namespace: System.CodeDom
Assembly: System (in system.dll)
Syntax
'Declaration
Public Sub Remove ( _
value As CodeStatement _
)
'Usage
Dim instance As CodeStatementCollection
Dim value As CodeStatement
instance.Remove(value)
public void Remove (
CodeStatement value
)
public:
void Remove (
CodeStatement^ value
)
public void Remove (
CodeStatement value
)
public function Remove (
value : CodeStatement
)
Parameter
- value
Die aus der Auflistung zu entfernende CodeStatement.
Ausnahmen
Ausnahmetyp | Bedingung |
---|---|
Das angegebene Objekt wurde nicht in der Auflistung gefunden. |
Beispiel
' Removes the specified CodeStatement from the collection.
collection.Remove(testStatement)
// Removes the specified CodeStatement from the collection.
collection.Remove( testStatement );
// Removes the specified CodeStatement from the collection.
collection->Remove( testStatement );
// Removes the specified CodeStatement from the collection.
collection.Remove( testStatement );
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
CodeStatementCollection-Klasse
CodeStatementCollection-Member
System.CodeDom-Namespace