Megosztás a következőn keresztül:


OperationVisitor<TArgument,TResult>.VisitObjectOrCollectionInitializer Method

Definition

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

Parameters

argument
TArgument

Returns

TResult

Applies to