Spread WPF Documentation
IndexOf Method (NotifyCollectionBase<T>)


The item for which to find the index.
Finds the index for a specified item.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As System.Integer
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim item As T
Dim value As System.Integer
 
value = instance.IndexOf(item)
public System.int IndexOf( 
   T item
)

Parameters

item
The item for which to find the index.

Return Value

Returns a zero-based index for the specified item.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.