GrapeCity SPREAD for Windows Forms 11.0J
BooleanExpression コンストラクタ


ブール値
ブール定数値を使用して新しい式を作成します。
構文
'Declaration
 
Public Function New( _
   ByVal value As Boolean _
)
'使用法
 
Dim value As Boolean
 
Dim instance As New BooleanExpression(value)
public BooleanExpression( 
   bool value
)

パラメータ

value
ブール値
次のサンプルコードは、ブール式を作成します。
//Spread for Windows Forms
FarPoint.CalcEngine.Expression arg1 = new FarPoint.CalcEngine.BooleanExpression(true);
((FarPoint.Win.Spread.Model.IExpressionSupport)fpSpread1.ActiveSheet.Models.Data).SetExpression(0, 0, arg1);
//Spread for Web Forms
FarPoint.CalcEngine.Expression arg1 = new FarPoint.CalcEngine.BooleanExpression(true);
((FarPoint.Web.Spread.Model.IExpressionSupport)FpSpread1.Sheets[0].DataModel).SetExpression(0, 0, arg1);
Dim arg1 As FarPoint.CalcEngine.Expression
arg1 = New FarPoint.CalcEngine.BooleanExpression(True)
'Spread for Windows Forms
CType(FpSpread1.ActiveSheet.Models.Data, FarPoint.Win.Spread.Model.IExpressionSupport).SetExpression(0, 0, arg1)
'Spread for Web Forms
CType(FpSpread1.Sheets(0).DataModel, FarPoint.Web.Spread.Model.IExpressionSupport).SetExpression(0, 0, arg1)
参照

BooleanExpression クラス
BooleanExpression メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.