OperationVisitor<TArgument,TResult>.VisitCollectionElementInitializer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
参数
- operation
- ICollectionElementInitializerOperation
- argument
- TArgument
返回
TResult
- 属性