共用方式為


CSharpSyntaxVisitor<TResult>.VisitLockStatement 方法

定義

當訪客造訪 LockStatementSyntax 節點時呼叫。

public:
 virtual TResult VisitLockStatement(Microsoft::CodeAnalysis::CSharp::Syntax::LockStatementSyntax ^ node);
public virtual TResult VisitLockStatement (Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax node);
public virtual TResult? VisitLockStatement (Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax node);
abstract member VisitLockStatement : Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax -> 'Result
override this.VisitLockStatement : Microsoft.CodeAnalysis.CSharp.Syntax.LockStatementSyntax -> 'Result
Public Overridable Function VisitLockStatement (node As LockStatementSyntax) As TResult

參數

傳回

TResult

適用於