CodeGotoStatement.Label 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定繼續程式執行的標籤名稱。
public:
property System::String ^ Label { System::String ^ get(); void set(System::String ^ value); };
public string Label { get; set; }
member this.Label : string with get, set
Public Property Label As String
屬性值
一個字串,指示繼續程式執行的標籤名稱。
例外狀況
標籤無法設定,因為值為 null 空字串。
備註
此屬性表示繼續程式執行的標籤名稱。
標籤可以用 表示。CodeLabeledStatement