Description
Returns the value of the reference in the GN4 schema for the given type, or "none".
Available in Ted and in Fred.
Syntax
dim value as String = object.TypeReference |
object
Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.
Example
For the type, whose reference described in schema is "img", the below script displays "img". Note: if the element has no reference type, it displays "none".
If Ted.HasActiveArticle Then
dim objA = Ted.GetActiveArticle
dim objN = objA.GetCurNode
MsgBox (objN.TypeReference)
End If
Context
Node object
See also
TypeContent, TypeDescription, TypeId, TypeKind, TypeLink, TypeModel, TypeName, TypeReference, TypeTextElement