ExpressionStatementSyntax.WithSemicolonToken(SyntaxToken) 方法

定义

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionStatementSyntax ^ WithSemicolonToken(Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax WithSemicolonToken (Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
member this.WithSemicolonToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax
Public Function WithSemicolonToken (semicolonToken As SyntaxToken) As ExpressionStatementSyntax

参数

semicolonToken
SyntaxToken

返回

适用于