PrintDocument for WinForms
CheckValue メソッド (TagNumericInputParams)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > TagNumericInputParams クラス : CheckValue メソッド
The control used to enter the value.
The Tag to which the value is to be assigned.
The error message, assigned if the check fails.
Checks the value contained in the control.
シンタックス
'宣言
 
Public Overrides Function CheckValue( _
   ByVal control As System.Windows.Forms.Control, _
   ByVal tag As Tag, _
   ByRef errorMessage As System.String _
) As System.Boolean
'使用法
 
Dim instance As TagNumericInputParams
Dim control As System.Windows.Forms.Control
Dim tag As Tag
Dim errorMessage As System.String
Dim value As System.Boolean
 
value = instance.CheckValue(control, tag, errorMessage)
public override System.bool CheckValue( 
   System.Windows.Forms.Control control,
   Tag tag,
   ref System.string errorMessage
)

パラメータ

control
The control used to enter the value.
tag
The Tag to which the value is to be assigned.
errorMessage
The error message, assigned if the check fails.

戻り値の型

True if the value falls between the minimum and maximum allowable values, false otherwise.
参照

TagNumericInputParams クラス
TagNumericInputParams メンバ