OpenXmlPartContainer.GetPartsOfType<T>-Methode
Enumerates all the children parts of the specified type "T" of this part.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function GetPartsOfType(Of T As OpenXmlPart) As IEnumerable(Of T)
'Usage
Dim instance As OpenXmlPartContainer
Dim returnValue As IEnumerable(Of T)
returnValue = instance.GetPartsOfType()
public IEnumerable<T> GetPartsOfType<T>()
where T : OpenXmlPart
Typparameter
- T
Derived class from OpenXmlPart.
Rückgabewert
Typ: System.Collections.Generic.IEnumerable<T>