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


キー文字列を表すString
BaseKeyCollection 内の指定したキーを持つ要素の0から始まるインデックスを返します。
構文
'Declaration
 
Public Overloads Overridable Function IndexOf( _
   ByVal key As String _
) As Integer
'使用法
 
Dim instance As BaseKeyCollection
Dim key As String
Dim value As Integer
 
value = instance.IndexOf(key)
public virtual int IndexOf( 
   string key
)

パラメータ

key
キー文字列を表すString

戻り値の型

キー文字列に対応する項目の、コレクション内での0から始まるインデックスを表すInt32値。
参照

BaseKeyCollection クラス
BaseKeyCollection メンバ
オーバーロード一覧

 

 


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