PowerTools SPREAD for ASP.NET 8.0J
BooleanExpression コンストラクタ

ブール値
ブール型の定数値を使用する新規の式を作成します。
構文
'Declaration
 
Public Function New( _
   ByVal value As Boolean _
)
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 メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.