IgetDoubleAttribute()

属性の double 値を取得します。

構文

double IgetDoubleAttribute(string attributeName);
 

パラメーター

attributeName
double 値を取得する属性の名前。

戻り値

属性の double 値。

例外

IAttributeNotSetException
属性値が設定されていない場合にスローされます。

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

IInvalidAttributeTypeException
属性が double 型でない場合にスローされます。

IAttributeBlankException
属性にブランク値がある場合にスローされます。

// Call the double method and get the attribute
 double doubleValue = 0;
 String doubleAttributeName = "Average";
 doubleValue = exampleBusObj.IgetDoubleAttribute(doubleAttributeName);
 

Copyright IBM Corp. 2004