ReportingEngineUseReflectionOptimization Property

Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true.

Namespace:  Aspose.Words.Reporting
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public static bool UseReflectionOptimization { get; set; }

Property Value

Type: Boolean
Remarks
There are some scenarios where it is preferrable to disable this optimization. For example, if you are dealing with small collections of data items all the time, then an overhead of dynamic class generation can be more noticeable than an overhead of direct reflection API calls.
See Also