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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
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