Compartir a través de


OperationVisitor<TArgument,TResult>.VisitCollectionElementInitializer Method

Definition

Caution

ICollectionElementInitializerOperation has been replaced with IInvocationOperation and IDynamicInvocationOperation

public:
 virtual TResult VisitCollectionElementInitializer(Microsoft::CodeAnalysis::Operations::ICollectionElementInitializerOperation ^ operation, TArgument argument);
[System.Obsolete("ICollectionElementInitializerOperation has been replaced with IInvocationOperation and IDynamicInvocationOperation", true)]
public virtual TResult VisitCollectionElementInitializer (Microsoft.CodeAnalysis.Operations.ICollectionElementInitializerOperation operation, TArgument argument);
[System.Obsolete("ICollectionElementInitializerOperation has been replaced with IInvocationOperation and IDynamicInvocationOperation", true)]
public virtual TResult? VisitCollectionElementInitializer (Microsoft.CodeAnalysis.Operations.ICollectionElementInitializerOperation operation, TArgument argument);
[<System.Obsolete("ICollectionElementInitializerOperation has been replaced with IInvocationOperation and IDynamicInvocationOperation", true)>]
abstract member VisitCollectionElementInitializer : Microsoft.CodeAnalysis.Operations.ICollectionElementInitializerOperation * 'Argument -> 'Result
override this.VisitCollectionElementInitializer : Microsoft.CodeAnalysis.Operations.ICollectionElementInitializerOperation * 'Argument -> 'Result
Public Overridable Function VisitCollectionElementInitializer (operation As ICollectionElementInitializerOperation, argument As TArgument) As TResult

Parameters

argument
TArgument

Returns

TResult
Attributes

Applies to