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
Syntaxpublic static bool UseReflectionOptimization { get; set; }
Public Shared Property UseReflectionOptimization As Boolean
Get
Set
public:
static property bool UseReflectionOptimization {
bool get ();
void set (bool value);
}
static member UseReflectionOptimization : bool with 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