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


IGPRandomNumberGenerator.Initialize Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

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