OpenXmlPartContainer.GetPartById 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.]

Get the child part through the relationship ID.

Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)

Syntax

'Declaration
Public Function GetPartById ( _
    id As String _
) As OpenXmlPart
'Usage
Dim instance As OpenXmlPartContainer
Dim id As String
Dim returnValue As OpenXmlPart

returnValue = instance.GetPartById(id)
public OpenXmlPart GetPartById (
    string id
)

Parameters

  • id
    The relationship ID of the part.

See Also

Reference

OpenXmlPartContainer Class
OpenXmlPartContainer Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace