TSparkleMiddlewareList.IndexOf Method
Returns the index of a middleware in the list.
Syntax
Unit: Sparkle.Comp.Server
function TSparkleMiddlewareList.IndexOf(AMiddleware: TSparkleMiddleware): Integer;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AMiddleware | TSparkleMiddleware | The middleware to locate. |
Returns
The index of the middleware, or -1 if it is not in the list.