共用方式為


OpenXmlPartContainer.GetIdOfPart(OpenXmlPart) Method

Definition

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.

Applies to