LockStatementSyntax.WithOpenParenToken(SyntaxToken) 方法

定义

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

参数

openParenToken
SyntaxToken

返回

适用于