Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
List(T) Class
List(T) Methods
FindIndex Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
List<(Of <(T>)>)..::.FindIndex Method

Searches for an element that matches the conditions defined by a specified predicate, and returns the zero-based index of the first occurrence within the List<(Of <(T>)>) or a portion of it.

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindIndex(Predicate<(Of <(T>)>))Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<(Of <(T>)>).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindIndex(Int32, Predicate<(Of <(T>)>))Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <(T>)>) that extends from the specified index to the last element.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFindIndex(Int32, Int32, Predicate<(Of <(T>)>))Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <(T>)>) that starts at the specified index and contains the specified number of elements.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker