FlexReport for WinForms
PrepareForSecondPass メソッド (Expression)


C1.Report アセンブリ > C1.Report.ScriptEngine 名前空間 > Expression クラス : PrepareForSecondPass メソッド
Custom data representing current position in document.
Contains reference to the ScriptEngine which will be used on second pass calculation.
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 firstPassData As System.Object, _
   ByVal secondPassEngine 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 firstPassData,
   ScriptEngine secondPassEngine
)

パラメータ

firstPassData
Custom data representing current position in document.
secondPassEngine
Contains reference to the ScriptEngine which will be used on second pass calculation.
参照

参照

Expression クラス
Expression メンバ