GrapeCity SPREAD for Windows Forms 11.0J
IndexOf メソッド (SubItemCollectionInfo)


インデックスを取得するSubItemInfoオブジェクト。
項目のインデックスを取得します。
構文
'Declaration
 
Public Function IndexOf( _
   ByVal item As SubItemInfo _
) As Integer
'使用法
 
Dim instance As SubItemCollectionInfo
Dim item As SubItemInfo
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   SubItemInfo item
)

パラメータ

item
インデックスを取得するSubItemInfoオブジェクト。

戻り値の型

コレクション内で項目が見つかった場合はそのインデックス。見つからなかった場合は-1。
参照

SubItemCollectionInfo クラス
SubItemCollectionInfo メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.