IgetAttributeType()

属性のタイプを取得します。

構文

long IgetAttributeType(string attributeName); 
 

パラメーター

attributeName
タイプを戻す属性の名前。

戻り値

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

0
Object

1
boolean

2
int

3
float

4
double

5
string

6
date

7
longtext

例外

IInvalidAttributeNameException
属性名が無効な場合にスローされます。

String attributeName = "Name";
 long attributeType = 0;
 attributeType = aBusObj.IgetAttributeType(attributeName);
 

Copyright IBM Corp. 2004