Export (0) Print
Expand All

OpenXmlPartContainer.GetIdOfPart Method

Gets the relationship ID of the part.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public string GetIdOfPart(
	OpenXmlPart part
)

Return Value

Type: System.String
The relationship ID of the part.

ExceptionCondition
ArgumentNullException

Thrown when "part" is null reference.

ArgumentOutOfRangeException

Thrown when the part does not exist.

Community Additions

ADD
Show:
© 2014 Microsoft