IsetDoubleAttribute()

Sets an attribute to a double value.

Syntax

void IsetDoubleAttribute(string attributeName, double value);

Parameters

attributeName
The name of the attribute whose value is set.

value
The double value for the attribute.

Return Values

None.

Exceptions

IInvalidAttributeTypeException
Thrown when the attribute is not double type.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

Example

// Call the double method
String doubleAttributeName = "Average";
double value = 5.75;
exampleBusObj.IsetDoubleAttribute(doubleAttributeName, value);

Copyright IBM Corp. 1997, 2004