Table of Contents

Method TryInvoke

Namespace
DocWright.Reporting.Expressions
Assembly
DocWright.Reporting.dll

TryInvoke(string, IReadOnlyList<object?>, out object?)

Invokes a member of the report's custom code.

public abstract bool TryInvoke(string memberName, IReadOnlyList<object?> arguments, out object? result)

Parameters

memberName string

The member as written after Code. — SalesVariancePct, or Instance.Method for a class instance.

arguments IReadOnlyList<object>

The evaluated arguments.

result object

The result.

Returns

bool

False when the code has no such member, which is reported as DXP9106.