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


IGpDispatch.CreateRandomValueGenerator Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  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*

Product Availability

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

See Also

IGpDispatch Interface