OpenXmlPartContainer.GetPartById Method (Microsoft.Office.DocumentFormat.OpenXml.Packaging)

[このトピックはプレリリースのドキュメントであり、今後のリリース時に変更される可能性があります。空白のトピックはプレースホルダとして表示されています。]

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)

構文

'宣言
Public Function GetPartById ( _
    id As String _
) As OpenXmlPart
'使用
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.

参照

リファレンス

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