TypeKind Method

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

Description

Returns the value of the typeKind in the GN4 schema for the given type.

Available in Ted and in Fred.

Syntax

dim strKind as String = object.TypeKind

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 as body, the below script displays "body":

If Ted.HasActiveArticle Then

  dim objA = Ted.GetActiveArticle

  dim objN = objA.GetCurNode

  MsgBox (objN.TypeKind)

End If

Context

Node object

See also

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