OpenXmlPartContainer.GetPartsCountOfType<T>-Methode
Gets the count of all parts in type T.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function GetPartsCountOfType(Of T As OpenXmlPart) As Integer
'Usage
Dim instance As OpenXmlPartContainer
Dim returnValue As Integer
returnValue = instance.GetPartsCountOfType()
public int GetPartsCountOfType<T>()
where T : OpenXmlPart
Typparameter
- T
The type of the part.
Rückgabewert
Typ: System.Int32
The count number of the parts.