OpenXmlPartContainer.GetPartsOfType Generic Method () (Microsoft.Office.DocumentFormat.OpenXml.Packaging)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Enumerate all the child parts of the specified type "T" of this part.
Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.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
See Also
Reference
OpenXmlPartContainer Class
OpenXmlPartContainer Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace