AddContent() 공개 메소드

Add to the content collection.
public AddContent ( DocumentRange span ) : void
span Encog.Bot.Browse.Range.DocumentRange The range to add to the collection.
리턴 void
예제 #1
0
 /// <summary>
 /// Add the specified hierarchy element.
 /// </summary>
 /// <param name="element">The hierarchy element to add.</param>
 private void AddHierarchyElement(DocumentRange element)
 {
     if (_lastHierarchyElement == null)
     {
         _page.AddContent(element);
     }
     else
     {
         _lastHierarchyElement.AddElement(element);
     }
     _lastHierarchyElement = element;
 }