This method returns the type as specified in the ITEMFORMAT tag. If no type is listed or if the ITEMFORMAT tag is missing, then the Type method returns HTML.
Syntax
DataItem(index).Type
Return Values
The return types are described in the following table.
Type | Description |
HTML | The line item is HTML-formatted content. This is the default type. |
HREF | The line is a URL, either http:// or mctp://. |
IMG | The line contains the identifier of an image item in the CDF file. |
TEXT | Same as HTML. |
Example
dataItems(n).Type