OnErrorGoToStatementSyntax.WithMinus(SyntaxToken) 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::OnErrorGoToStatementSyntax ^ WithMinus(Microsoft::CodeAnalysis::SyntaxToken minus);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax WithMinus (Microsoft.CodeAnalysis.SyntaxToken minus);
member this.WithMinus : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OnErrorGoToStatementSyntax
Public Function WithMinus (minus As SyntaxToken) As OnErrorGoToStatementSyntax

参数

minus
SyntaxToken

返回

适用于