GrapeCity SPREAD for Windows Forms 11.0J
IndexOfKey メソッド (SideButtonCollection)


検索する INamedObject オブジェクトの名前。
指定したアイテムがコレクション内で最初に出現する位置のインデックスを取得します。
構文
'Declaration
 
Public Overridable Function IndexOfKey( _
   ByVal name As String _
) As Integer
'使用法
 
Dim instance As SideButtonCollection
Dim name As String
Dim value As Integer
 
value = instance.IndexOfKey(name)
public virtual int IndexOfKey( 
   string name
)

パラメータ

name
検索する INamedObject オブジェクトの名前。

戻り値の型

指定した名前を持つ、コレクション内で最初に見つかった INamedObject オブジェクトの0から始まるインデックス。
参照

SideButtonCollection クラス
SideButtonCollection メンバ

 

 


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