Freigeben über


OpenXmlPartContainer.DeleteExternalRelationship-Methode (ExternalRelationship)

Deletes the specified external relationship.

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

Syntax

'Declaration
Public Sub DeleteExternalRelationship ( _
    externalRelationship As ExternalRelationship _
)
'Usage
Dim instance As OpenXmlPartContainer
Dim externalRelationship As ExternalRelationship

instance.DeleteExternalRelationship(externalRelationship)
public void DeleteExternalRelationship(
    ExternalRelationship externalRelationship
)

Parameter

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

Thrown when "externalRelationship" is null reference.

InvalidOperationException

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

Siehe auch

Referenz

OpenXmlPartContainer Klasse

OpenXmlPartContainer-Member

DeleteExternalRelationship Überladung

DocumentFormat.OpenXml.Packaging-Namespace