This document is archived and information here might be outdated.  Recommended version.


IGpDispatch.CreateRandomValueGenerator Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.CreateRandomValueGenerator Method
ArcGIS Developer Help

IGpDispatch.CreateRandomValueGenerator Method

Creates a geoprocessing random number generator object that can be used to generate random numbers.

[Visual Basic .NET]
Public Function CreateRandomValueGenerator ( _
    ByVal Seed As Integer, _
    ByVal distributionType As String _
) As Object
[C#]
public object CreateRandomValueGenerator (
    int Seed,
    string distributionType
);
[C++]
HRESULT CreateRandomValueGenerator(
  long Seed,
  BSTR distributionType
);
[C++]
Parameters
Seed [in]

Seed is a parameter of type long distributionType [in]
distributionType is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGpDispatch Interface