IsetBooleanAttribute()

Sets an attribute to a boolean value.

Syntax

void IsetBooleanAttribute(string attributeName, boolean value);

Parameters

attributeName
The name of the attribute whose value is set.

value
The boolean value for the attribute.

Return Values

None.

Exceptions

IInvalidAttributeTypeException
Thrown when the attribute is not a boolean type.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

Example

// Call the Boolean method
String attributeName = "custID";
boolean value = false;
exampleBusObj.IsetBooleanAttribute(attributeName, false);

Copyright IBM Corp. 2004