PowerTools CalendarGrid for Windows Forms 1.0J
FindStringExact メソッド (ListItemCollection)

検索する System.String
検索を開始する項目の 1 つ前の項目の 0 から始まるインデックス。
検索する列インデックスを示す System.Int32 値。
指定したインデックスの後に出現する、指定した文字列に一致する最初の項目を検索します。
構文
Public Function FindStringExact( _
   ByVal s As String, _
   ByVal startIndex As Integer, _
   ByVal findTargetColumnIndex As Integer _
) As Integer
public int FindStringExact( 
   string s,
   int startIndex,
   int findTargetColumnIndex
)

パラメータ

s
検索する System.String
startIndex
検索を開始する項目の 1 つ前の項目の 0 から始まるインデックス。
findTargetColumnIndex
検索する列インデックスを示す System.Int32 値。

戻り値の型

最初に見つかった項目の 0 から始まるインデックス。一致する項目が見つからない場合は -1 を返します。
参照

ListItemCollection クラス
ListItemCollection メンバ

 

 


© 2014 GrapeCity inc. All rights reserved.