Compartir a través de


OpenXmlPartContainer.DeleteReferenceRelationship Method (ReferenceRelationship)

Deletes the specified reference relationship.

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

Syntax

'Declaration
Public Sub DeleteReferenceRelationship ( _
    referenceRelationship As ReferenceRelationship _
)
'Usage
Dim instance As OpenXmlPartContainer
Dim referenceRelationship As ReferenceRelationship

instance.DeleteReferenceRelationship(referenceRelationship)
public void DeleteReferenceRelationship(
    ReferenceRelationship referenceRelationship
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when "referenceRelationship" is null reference.

InvalidOperationException

Thrown when the reference relationship is not referenced by this part.

See Also

Reference

OpenXmlPartContainer Class

OpenXmlPartContainer Members

DeleteReferenceRelationship Overload

DocumentFormat.OpenXml.Packaging Namespace