IDistribution.GetRangeValue Method
When implemented in a class, returns a value that is between 0 and 1 and that represents a point on the distribution curve.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Function GetRangeValue As Double
double GetRangeValue()
double GetRangeValue()
abstract GetRangeValue : unit -> float
function GetRangeValue() : double
Return Value
Type: System.Double
A double between 0.0 and 1.0, inclusive.
Remarks
This method generates a random value that is between 0.0 and 1.0 and that represents a point on the distribution curve. Values that are less than 0.0 or more than 1.0 produce undefined results. This GetRangeValue method is called once for each row of data that is generated. The more rows of data that are generated, the more closely the data approximates the distribution curve. The value that this method returns is scaled by the generator that uses it, based on the Min and Max properties that the user specifies, and is converted to the type of data that is generated.
.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.
See Also
Reference
Microsoft.Data.Schema.Tools.DataGenerator Namespace
GetRangeValue