Sitecore 5.1.1 API

MainUtil.GetSequencer Method 

Gets the current sequencer value.

[Visual Basic]
Public Shared Function GetSequencer() As Integer
[C#]
public static int GetSequencer();

Return Value

An integer value.

Remarks

This function is threadsafe and can be used to generate serial numbers. The sequencer is incremented before the value is returned. The value is unique for the duration of the ASP.NET process lifetime.

See Also

MainUtil Class | Sitecore Namespace | GetNextSequence