Constable Authorization Engine 2.0 BETA

StateCollection.IndexOf Method (State)

[This is preliminary documentation and subject to change.]

Gets the index of the specified state in the collection.

[Visual Basic]
Overridable Overloads Public Function IndexOf( _
   ByVal state As State _
) As Integer
[C#]
public virtual int IndexOf(
   State state
);

Parameters

state
The state to locate in the collection.

Return Value

The zero-based index of the state within the collection, if found; otherwise, -1.

See Also

StateCollection Class | LaMarvin.Constable.Model Namespace | StateCollection.IndexOf Overload List