PropertyValidatorFloat Constructor (Single, array<Single )
Initializes a new instance of the PropertyValidatorFloat class by using the provided array of valid values.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
slop As Single, _
ParamArray validValues As Single() _
)
public PropertyValidatorFloat(
float slop,
params float[] validValues
)
public:
PropertyValidatorFloat(
float slop,
... array<float>^ validValues
)
new :
slop:float32 *
validValues:float32[] -> PropertyValidatorFloat
public function PropertyValidatorFloat(
slop : float,
... validValues : float[]
)
Parameters
- slop
Type: System.Single
A Single that represents the number by which the value can exceed or fall short of the valid values and still be considered valid.
- validValues
Type: array<System.Single[]
One or more parameters that represent valid values of type Single.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.