SequenceContainer.LastIndexOf Method (T, Int32, Int32)
Return the index of the last occurrence of element in sublist starting at start and ranging count elements. Return -1, if no occurrence exists.
If start or count is out of bounds, an exception will be thrown.
Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
'Usage
'Declaration
public int LastIndexOf (
T elem,
int start,
int count
)
- elem
- start
- count
Returns Int32.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003
SequenceContainer Generic Class
SequenceContainer Members
Microsoft.Modeling Namespace