IsetFloatAttribute()

Sets an attribute to a float value.

Syntax

void IsetFloatAttribute(string attributeName, float value);

Parameters

attributeName
The name of the attribute whose value is set.

value
The float value for the attribute.

Return Values

None.

Exceptions

IInvalidAttributeTypeException
Thrown when the attribute is not float type.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

Example

// Call the Float method
String floatAttributeName "FloatAttributeName";
float value = 0.999;
exampleBusObj.IsetFloatAttribute(floatAttributeName, value);

Copyright IBM Corp. 2004