Description
Returns a collection of Element objects that represent the first level of elements in the document of the specified type. GetElements does not return nested elements.
C#
vb.net
Parameters
type
An Element.Type representing the type of element to be returned.Returns
A a collection ofElement
objects that represent all the elements in the document of the specified type.
Examples
C#
vb.net