OpenXmlPartContainer.TryGetPartById(String, OpenXmlPart) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to get the child part by the relationship ID.
public bool TryGetPartById (string id, out DocumentFormat.OpenXml.Packaging.OpenXmlPart part);
member this.TryGetPartById : string * OpenXmlPart -> bool
Public Function TryGetPartById (id As String, ByRef part As OpenXmlPart) As Boolean
Parameters
- id
- String
The relationship ID of the part.
- part
- OpenXmlPart
The part.
Returns
Return true
when the part with the specified id exist, otherwise false
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin