IsetIntAttribute()

Sets an attribute to an int value.

Syntax

void IsetIntAttribute(string attributeName, long value);

Parameters

attributeName
The name of the attribute whose value is set.

value
A long value for the integer attribute.

Return Values

None.

Exceptions

IInvalidAttributeTypeException
Thrown when the attribute is not an integer type.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

Example

// Call the int method
String intAttribute = "CustomerNumber";
int value = 5002;
exampleBusObj.IsetIntAttribute(intAttribute, value);

Copyright IBM Corp. 1997, 2004