CodeCatchClauseCollection.Insert-Methode
Fügt die angegebene CodeCatchClause am angegebenen Index in die Auflistung ein.
Namespace: System.CodeDom
Assembly: System (in system.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
value As CodeCatchClause _
)
'Usage
Dim instance As CodeCatchClauseCollection
Dim index As Integer
Dim value As CodeCatchClause
instance.Insert(index, value)
public void Insert (
int index,
CodeCatchClause value
)
public:
void Insert (
int index,
CodeCatchClause^ value
)
public void Insert (
int index,
CodeCatchClause value
)
public function Insert (
index : int,
value : CodeCatchClause
)
Parameter
- index
Der nullbasierte Index, an dem das angegebene Objekt eingefügt werden soll.
- value
Die einzufügende CodeCatchClause.
Beispiel
' Inserts a CodeCatchClause at index 0 of the collection.
collection.Insert(0, New CodeCatchClause("e"))
// Inserts a CodeCatchClause at index 0 of the collection.
collection.Insert( 0, new CodeCatchClause("e") );
// Inserts a CodeCatchClause at index 0 of the collection.
collection->Insert( 0, gcnew CodeCatchClause( "e" ) );
// Inserts a CodeCatchClause at index 0 of the collection.
collection.Insert(0, new CodeCatchClause("e"));
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
CodeCatchClauseCollection-Klasse
CodeCatchClauseCollection-Member
System.CodeDom-Namespace
Add