TypeDescription Method

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:08

Description

Returns the type decription of the node in the GN4 schema, or nothing, if the description is not set.

Available in Ted and in Fred.

Syntax

dim strDesc as String = object.TypeDescription

object

Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.

Example

For the type, described in schema with non empty description, the below script displays that description:

If Ted.HasActiveArticle Then

 dim objA = Ted.GetActiveArticle

 dim objN = objA.GetCurNode

 MsgBox (objN.TypeDescription)

End If

Context

Node object

See also

TypeContent, TypeDescription, TypeId, TypeKind, TypeLink, TypeModel, TypeName, TypeReference, TypeTextElement