Click or drag to resize

OpenXmlElementListGetItem Method

Gets the OpenXmlElement element at the specified index.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public abstract OpenXmlElement GetItem(
	int index
)

Parameters

index  Int32
A zero-based integer that represents an index in the list of elements.

Return Value

OpenXmlElement
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.
See Also