LockStatementSyntax.WithLockKeyword(SyntaxToken) Method

Definition

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

Parameters

lockKeyword
SyntaxToken

Returns

Applies to