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。