PrintDocument for WinForms
IndexOf メソッド (OwnedCollectionBase)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > OwnedCollectionBase クラス : IndexOf メソッド
The Object to locate in the collection. The value can be a null reference.
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.
シンタックス
'宣言
 
Public Function IndexOf( _
   ByVal obj As System.Object _
) As System.Integer
'使用法
 
Dim instance As OwnedCollectionBase
Dim obj As System.Object
Dim value As System.Integer
 
value = instance.IndexOf(obj)
public System.int IndexOf( 
   System.object obj
)

パラメータ

obj
The Object to locate in the collection. The value can be a null reference.

戻り値の型

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

OwnedCollectionBase クラス
OwnedCollectionBase メンバ