OpenXmlPartContainer.GetIdOfPart(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.
Gets the relationship ID of the part.
public string GetIdOfPart (DocumentFormat.OpenXml.Packaging.OpenXmlPart part);
member this.GetIdOfPart : DocumentFormat.OpenXml.Packaging.OpenXmlPart -> string
Public Function GetIdOfPart (part As OpenXmlPart) As String
Parameters
- part
- OpenXmlPart
The part.
Returns
The relationship ID of the part.
Exceptions
Thrown when "part" is null reference.
Thrown when the part does not exist.