public void GetFieldType()
{
Document doc = new Document(MyDir + "Document.TableOfContents.doc");
//ExStart
//ExFor:FieldType
//ExFor:FieldChar
//ExFor:FieldChar.FieldType
//ExSummary:Shows how to find the type of field that is represented by a node which is derived from FieldChar.
FieldChar fieldStart = (FieldChar) doc.GetChild(NodeType.FieldStart, 0, true);
FieldType type = fieldStart.FieldType;
//ExEnd
}