OperationVisitor<TArgument,TResult>.VisitCollectionElementInitializer 方法

定义

注意

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

参数

argument
TArgument

返回

TResult
属性

适用于