แก้ไข

แชร์ผ่าน


CodeGotoStatement.Label Property

Definition

Gets or sets the name of the label at which to continue program execution.

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

Property Value

A string that indicates the name of the label at which to continue program execution.

Exceptions

The label cannot be set because value is null or an empty string.

Remarks

This property indicates the name of the label at which to continue program execution.

A label can be represented by a CodeLabeledStatement.

Applies to

See also