IsetLongTextAttribute()

Sets an attribute to a longtext value.

Syntax

void IsetLongTextAttribute(string attributeName, string value);

Parameters

attributeName
The name of the attribute whose value is set.

value
The value for the attribute, in string format.

Return Values

None.

Exceptions

IInvalidAttributeTypeException
Thrown when the attribute is not longtext type.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

Example

// Call the LongText method
String longTextAttributeName = "Description";
String value = "A very long text"
exampleBusObj.IsetLongTextAttribute(longTextAttributeName, value);

Copyright IBM Corp. 2004