Freigeben über


CodeGotoStatement Konstruktoren

Definition

Initialisiert eine neue Instanz der CodeGotoStatement-Klasse.

Überlädt

Name Beschreibung
CodeGotoStatement()

Initialisiert eine neue Instanz der CodeGotoStatement-Klasse.

CodeGotoStatement(String)

Initialisiert eine neue Instanz der CodeGotoStatement Klasse mithilfe des angegebenen Bezeichnungsnamens.

CodeGotoStatement()

Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs

Initialisiert eine neue Instanz der CodeGotoStatement-Klasse.

public:
 CodeGotoStatement();
public CodeGotoStatement();
Public Sub New ()

Hinweise

Wenn Sie diesen Konstruktor verwenden, müssen Sie auch die Label Eigenschaft festlegen, um den Namen der Bezeichnung anzugeben, bei der die Programmausführung fortgesetzt werden soll.

Gilt für:

CodeGotoStatement(String)

Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs
Quelle:
CodeGotoStatement.cs

Initialisiert eine neue Instanz der CodeGotoStatement Klasse mithilfe des angegebenen Bezeichnungsnamens.

public:
 CodeGotoStatement(System::String ^ label);
public CodeGotoStatement(string label);
new System.CodeDom.CodeGotoStatement : string -> System.CodeDom.CodeGotoStatement
Public Sub New (label As String)

Parameter

label
String

Der Name der Bezeichnung, bei der die Programmausführung fortgesetzt werden soll.

Ausnahmen

label ist null.

Weitere Informationen

Gilt für: