IgetBusinessObjectAtIndex()

ビジネス・オブジェクト配列の任意の指標にあるビジネス・オブジェクトを取得します。

構文

IBusinessObject IgetBusinessObjectAtIndex(long index);
 

パラメーター

index
取得するビジネス・オブジェクトのビジネス・オブジェクト配列内の指標。

戻り値

ビジネス・オブジェクト配列の、指定された指標にあるビジネス・オブジェクトが格納されている IBusinessObject オブジェクト。

例外

IInvalidIndexException
指標が無効な場合にスローされます。

// call the get business object at index method
 IBusinessObject aBusinessObject = null;
 long index = 1;
 aBusinessObject = exampleBusObjArray.IgetBusinessObjectAtIndex(index);
 

Copyright IBM Corp. 2004