Prepares Expression object for "second-pass" calculation. Calculates values of all identifiers used in this expression, all identifiers support C1.Report.ScriptEngine.ITwoPassIdentifier interface calculated via C1.Report.ScriptEngine.ITwoPassIdentifier.GetFirstPassValue(C1.Report.ScriptEngine.ScriptEngine,System.Object,System.Object[]) function, this function can return some internal object using that script engine can calculate actual value on the second pass. For example expression like "Field.Value * 2" will converted to expression "4 * 2" where 4 is value of the "Field.Value.
シンタックス
'宣言
Public Overridable Sub PrepareForSecondPass( _
ByVal As System.Object, _
ByVal As ScriptEngine _
)
'使用法
Dim instance As Expression
Dim firstPassData As System.Object
Dim secondPassEngine As ScriptEngine
instance.PrepareForSecondPass(firstPassData, secondPassEngine)
public virtual void PrepareForSecondPass(
System.object ,
ScriptEngine
)
パラメータ
- firstPassData
- Custom data representing current position in document.
- secondPassEngine
- Contains reference to the ScriptEngine which will be used on second pass calculation.
参照