Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Returns a collection of [Element|Element] objects that represent all the elements in the document of the specified type.{excerpt}
{signature:C#}
 public virtual Element[] GetElements(Type type)
{signature}{signature:vb.net}
Public Overridable Function GetElements(ByVal type As Type) As Element()
{signature}
{parameters}
{param:type}An Element.Type representing the type of element to be returned.{param}
{returns}A a collection of {{Element}} objects that represent all the elements in the document of the specified type.{returns}
{example}{code:csharp|title=C#}

          Element[] eArray = e.GetElements(Element.Type.Paragraph);
        {code}
{code:vb.net|title=vb.net}

          Dim eArray As Element() = e.GetElements(Element.Type.Paragraph)
        {code}

{example}