共用方式為


OperationVisitor<TArgument,TResult>.VisitObjectCreation Method

Definition

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

Parameters

argument
TArgument

Returns

TResult

Applies to