TypeContent Method

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

Description

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

Available in Ted and in Fred.

Syntax

dim iContent = object.TypeContent

object

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

Example

The below script displays "ElementOnly" for the element that in schema is defined as "ElementOnly":

If Ted.HasActiveArticle Then

  dim objA = Ted.GetActiveArticle

  dim objN = objA.GetCurNode

  MsgBox (objN.TypeContent)

End If

Context

Node object

See also

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