Constable Authorization Engine 2.0 BETA

NamedObjectCollectionBase.IndexOfId Method 

[This is preliminary documentation and subject to change.]

Returns an index of the object with the given .

[Visual Basic]
Public Function IndexOfId( _
   ByVal id As String _
) As Integer
[C#]
public int IndexOfId(
   string id
);

Parameters

id
The id of the object whose index we're looking for.

Return Value

The index of the object with the given if found; -1 otherwise.

See Also

NamedObjectCollectionBase Class | LaMarvin.Constable.Model Namespace