Sage Modeling and Simulation Library

UniqueNameGenerator..::..GetNextName Method

Gets the next name for the provided seed, to the specified number of places, with the index either zero-based or one-based, depending on the value of 'zeroBased.'

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public string GetNextName(
	string seed,
	int nPlaces,
	bool zeroBased
)

Parameters

seed
Type: String
The seed.
nPlaces
Type: Int32
The number of places. Ignored on all but the first call for a particular seed.
zeroBased
Type: Boolean
if set to true the index will be zero based. Ignored on all but the first call for a particular seed.

Return Value

System.String.