OperationVisitor<TArgument,TResult>.VisitCollectionElementInitializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operation
- ICollectionElementInitializerOperation
- argument
- TArgument
Returns
TResult
- Attributes
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.