ResumeStatementSyntax.WithLabel(LabelSyntax) 方法

定义

返回一个副本,其中 Label 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ResumeStatementSyntax ^ WithLabel(Microsoft::CodeAnalysis::VisualBasic::Syntax::LabelSyntax ^ label);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ResumeStatementSyntax WithLabel (Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax label);
member this.WithLabel : Microsoft.CodeAnalysis.VisualBasic.Syntax.LabelSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ResumeStatementSyntax
Public Function WithLabel (label As LabelSyntax) As ResumeStatementSyntax

参数

label
LabelSyntax

返回

适用于