共用方式為


CodeGotoStatement 建構函式

定義

初始化 CodeGotoStatement 類別的新執行個體。

多載

名稱 Description
CodeGotoStatement()

初始化 CodeGotoStatement 類別的新執行個體。

CodeGotoStatement(String)

使用指定的標籤名稱初始化類別的新實例 CodeGotoStatement

CodeGotoStatement()

來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs

初始化 CodeGotoStatement 類別的新執行個體。

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

備註

如果你使用這個建構子,也必須設定 Label 屬性來表示繼續執行程式的標籤名稱。

適用於

CodeGotoStatement(String)

來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs
來源:
CodeGotoStatement.cs

使用指定的標籤名稱初始化類別的新實例 CodeGotoStatement

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

參數

label
String

繼續執行程式的標籤名稱。

例外狀況

labelnull

另請參閱

適用於