共用方式為


LockStatementSyntax.WithCloseParenToken(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::LockStatementSyntax ^ WithCloseParenToken(Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax WithCloseParenToken (Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
member this.WithCloseParenToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax
Public Function WithCloseParenToken (closeParenToken As SyntaxToken) As LockStatementSyntax

參數

closeParenToken
SyntaxToken

傳回

適用於