Constable Authorization Engine 2.0 BETA

RoleCollection.IndexOf Method (Role)

[This is preliminary documentation and subject to change.]

Gets the index of the specified role in the collection.

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

Parameters

role
The role to locate in the collection.

Return Value

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

See Also

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