共用方式為


OperationVisitor<TArgument,TResult>.VisitAttribute 方法

定義

public virtual TResult? VisitAttribute (Microsoft.CodeAnalysis.Operations.IAttributeOperation operation, TArgument argument);
abstract member VisitAttribute : Microsoft.CodeAnalysis.Operations.IAttributeOperation * 'Argument -> 'Result
override this.VisitAttribute : Microsoft.CodeAnalysis.Operations.IAttributeOperation * 'Argument -> 'Result
Public Overridable Function VisitAttribute (operation As IAttributeOperation, argument As TArgument) As TResult

參數

argument
TArgument

傳回

TResult

適用於