Sdílet prostřednictvím


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.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Function GetRangeValue As Double
'Usage
Dim instance As IDistribution
Dim returnValue As Double

returnValue = instance.GetRangeValue
double GetRangeValue ()
double GetRangeValue ()
double GetRangeValue ()
function GetRangeValue () : double

Return Value

A double between 0.0 and 1.0, inclusive.

Remarks

This method randomly generates a 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 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 converted to the type of the data that is being generated.

See Also

Reference

IDistribution Interface
IDistribution Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Distribution Class
DistributionAttribute Class
DistributionInit Class
DefaultDistributionDesigner Class

Other Resources

Generating Data with Data Generators