IgetAttributeTypeAtIndex()

ビジネス・オブジェクト定義内の指定された位置にある属性のタイプを取得します。

構文

long IgetAttributeTypeAtIndex(long position); 
 

パラメーター

position
ビジネス・オブジェクト定義内での属性の位置。

戻り値

ビジネス・オブジェクト内の指定された位置にある属性のデータ型を示す整数。次を参照してください。

0
Object

1
boolean

2
int

3
float

4
double

5
string

6
date

7
longtext

例外

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

int indexPosition = 1;
 long attributeType = 0;
 attributeType = aBusObj.IgetAttributeTypeAtIndex(indexPosition);
 

Copyright IBM Corp. 2004