GrapeCity ActiveReports for .NET 16.0J
IndexOf メソッド (ObservableCollection<T>)

GrapeCity.Viewer.Common 名前空間 > ObservableCollection<T> クラス : IndexOf メソッド
The object to locate in the List. The value can be null 参照 (Visual Basicでは Nothing) for reference types.
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection.
シンタックス
'宣言
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
public int IndexOf( 
   T item
)

パラメータ

item
The object to locate in the List. The value can be null 参照 (Visual Basicでは Nothing) for reference types.

戻り値の型

The zero-based index of the first occurrence of item within the entire Collection, if found; otherwise, -1.
参照

ObservableCollection<T> クラス
ObservableCollection<T> メンバ