IgetLongTextAttribute()

Retrieves a longtext value of an attribute.

Syntax

string IgetLongTextAttribute(string attributeName);

Parameters

attributeName
The name of the attribute whose longtext value is retrieved.

Return Values

The longtext value of the attribute as a string.

Exceptions

IAttributeNotSetException
Thrown when the attribute value is not set.

IInvalidAttributeNameException
Thrown when the attribute name is invalid.

IInvalidAttributeTypeException
Thrown when the attribute is not of the longtext type.

IAttributeBlankException
Thrown when the attribute has a blank value.

Example

// Call the LongText method and get the attribute
long longValue = "net30";
String longAttributeName = "Customer";
longValue = exampleBusObj.IgetLongTextAttribute(longAttributeName);

Copyright IBM Corp. 2004