Freigeben über


OpenXmlPartContainer.DeleteReferenceRelationship-Methode (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
)

Parameter

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

Thrown when "referenceRelationship" is null reference.

InvalidOperationException

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

Siehe auch

Referenz

OpenXmlPartContainer Klasse

OpenXmlPartContainer-Member

DeleteReferenceRelationship Überladung

DocumentFormat.OpenXml.Packaging-Namespace