다음을 통해 공유


LockStatementSyntax.WithExpression(ExpressionSyntax) 메서드

정의

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::LockStatementSyntax ^ WithExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
member this.WithExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax
Public Function WithExpression (expression As ExpressionSyntax) As LockStatementSyntax

매개 변수

expression
ExpressionSyntax

반환

적용 대상