The HyperPoint object contains the following method:
The GetAttribute method returns the specified HyperPoint attribute.
GetAttribute(attrAsStringorEnum As Variant) As Variant
| Parameter | Required | Description |
|---|---|---|
|
attrAsStringorEnum |
Yes |
A value (either a string or an enumeration) indicating the attribute to return. See HyperPointAttributes. |
In Microsoft Visual Basic, you can use the enumeration constant, the numerical value, or the string name of the enumeration constant. In VBScript, you can only use the numerical value or the string name.
Example
|
Sub DEMOPNT_OnInitialize() MsgBox DEMOPNT.GetAttribute(30) MsgBox DEMOPNT.GetAttribute("Site") End Sub |