ApiExamples.ExField.GetFieldFromFieldCollection C# (CSharp) Метод

GetFieldFromFieldCollection() приватный Метод

private GetFieldFromFieldCollection ( ) : void
Результат void
        public void GetFieldFromFieldCollection()
        {
            //ExStart
            //ExId:GetFieldFromFieldCollection
            //ExSummary:Demonstrates how to retrieve a field using the range of a node.
            Document doc = new Document(MyDir + "Document.TableOfContents.doc");

            Field field = doc.Range.Fields[0];

            // This should be the first field in the document - a TOC field.
            Console.WriteLine(field.Type);
            //ExEnd
        }