ApiExamples.ExSection.SectionsDeleteSectionContent C# (CSharp) Метод

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

private SectionsDeleteSectionContent ( ) : void
Результат void
        public void SectionsDeleteSectionContent()
        {
            //ExStart
            //ExFor:Section.ClearContent
            //ExId:SectionsDeleteSectionContent
            //ExSummary:Shows how to delete main content of a section.
            Document doc = new Document(MyDir + "Document.doc");
            Section section = doc.Sections[0];
            section.ClearContent();
            //ExEnd
        }