共用方式為


ReturnStatementSyntax.WithSemicolonToken(SyntaxToken) 方法

定義

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

參數

semicolonToken
SyntaxToken

傳回

適用於