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


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

IGPRandomNumberGenerator.Initialize Method

Initializes random generator seed and type.

[Visual Basic .NET]
Public Sub Initialize ( _
    ByVal Seed As Integer, _
    ByVal Type As esriRandomNumberGeneratorType _
)
[C#]
public void Initialize (
    int Seed,
    esriRandomNumberGeneratorType Type
);
[C++]
HRESULT Initialize(
  long Seed,
  esriRandomNumberGeneratorType Type
);
[C++]
Parameters
Seed [in]

Seed is a parameter of type long Type [in]
Type is a parameter of type esriRandomNumberGeneratorType

Product Availability

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

See Also

IGPRandomNumberGenerator Interface