This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.CreateRandomValueGenerator Method (ArcObjects .NET 10.5 SDK) |
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,
IDispatch** ppObject
);
[C++]
Parameters Seed [in] Seed is a parameter of type long distributionType [in] distributionType is a parameter of type BSTR ppObject [out, retval] ppObject is a parameter of type IDispatch*