共用方式為


CSharpSyntaxVisitor<TResult>.VisitClassOrStructConstraint 方法

定義

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

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

參數

傳回

TResult

適用於