OpenXmlElementList.OfType<T> Method
Get IEnumerable for specific type of element
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function OfType(Of T As OpenXmlElement) As IEnumerable(Of T)
'Usage
Dim instance As OpenXmlElementList
Dim returnValue As IEnumerable(Of T)
returnValue = instance.OfType()
public IEnumerable<T> OfType<T>()
where T : OpenXmlElement
Type Parameters
- T
Type of element
Return Value
Type: System.Collections.Generic.IEnumerable<T>