CodeGotoStatement コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CodeGotoStatement クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| CodeGotoStatement() |
CodeGotoStatement クラスの新しいインスタンスを初期化します。 |
| CodeGotoStatement(String) |
指定したラベル名を使用して、 CodeGotoStatement クラスの新しいインスタンスを初期化します。 |
CodeGotoStatement()
CodeGotoStatement クラスの新しいインスタンスを初期化します。
public:
CodeGotoStatement();
public CodeGotoStatement();
Public Sub New ()
注釈
このコンストラクターを使用する場合は、プログラムの実行を続行するラベルの名前を示す Label プロパティも設定する必要があります。
適用対象
CodeGotoStatement(String)
指定したラベル名を使用して、 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
プログラムの実行を続行するラベルの名前。
例外
label は nullです。