Wiki Markup |
---|
{description} {excerpt}Returns a collection of [Element|Element] objects that represent all the first level of elements in the document of the specified type. GetElements does not return nested elements.{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} |
Page History
Overview
Content Tools