Freigeben über


OpenXmlPartContainer.DeleteReferenceRelationship-Methode (String)

Deletes the sepcified reference relationship.

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

Syntax

'Declaration
Public Sub DeleteReferenceRelationship ( _
    id As String _
)
'Usage
Dim instance As OpenXmlPartContainer
Dim id As String

instance.DeleteReferenceRelationship(id)
public void DeleteReferenceRelationship(
    string id
)

Parameter

  • id
    Typ: System.String
    The relationship ID of the ReferenceRelationship.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

Thrown when the "id" parameter is null.

KeyNotFoundException

Thrown when there is no ReferenceRelationship with the specified relationship ID.

Siehe auch

Referenz

OpenXmlPartContainer Klasse

OpenXmlPartContainer-Member

DeleteReferenceRelationship Überladung

DocumentFormat.OpenXml.Packaging-Namespace