Freigeben über


OpenXmlElementList.OfType<T>-Methode

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

Typparameter

  • T
    Type of element

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<T>

Siehe auch

Referenz

OpenXmlElementList Klasse

OpenXmlElementList-Member

DocumentFormat.OpenXml-Namespace