OpenXmlElementList.GetItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the OpenXmlElement element at the specified index.
public abstract DocumentFormat.OpenXml.OpenXmlElement GetItem (int index);
abstract member GetItem : int -> DocumentFormat.OpenXml.OpenXmlElement
Public MustOverride Function GetItem (index As Integer) As OpenXmlElement
Parameters
- index
- Int32
A zero-based integer that represents an index in the list of elements.
Returns
An OpenXmlElement element at the specified index in the collection. Returns null (Nothing in Visual Basic) if the index is greater than or equal to the number of elements in the list.