OpenXmlPartContainer.DeleteReferenceRelationship OpenXmlPartContainer.DeleteReferenceRelationship OpenXmlPartContainer.DeleteReferenceRelationship Method

Definition

Overloads

DeleteReferenceRelationship(ReferenceRelationship) DeleteReferenceRelationship(ReferenceRelationship)

Deletes the specified reference relationship.

DeleteReferenceRelationship(String) DeleteReferenceRelationship(String) DeleteReferenceRelationship(String)

Deletes the specified reference relationship.

DeleteReferenceRelationship(ReferenceRelationship) DeleteReferenceRelationship(ReferenceRelationship)

Deletes the specified reference relationship.

public void DeleteReferenceRelationship (DocumentFormat.OpenXml.Packaging.ReferenceRelationship referenceRelationship);
member this.DeleteReferenceRelationship : DocumentFormat.OpenXml.Packaging.ReferenceRelationship -> unit

Parameters

referenceRelationship
ReferenceRelationship ReferenceRelationship ReferenceRelationship

The reference relationship to be deleted.

Exceptions

Thrown when "referenceRelationship" is null reference.

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

DeleteReferenceRelationship(String) DeleteReferenceRelationship(String) DeleteReferenceRelationship(String)

Deletes the specified reference relationship.

public void DeleteReferenceRelationship (string id);
member this.DeleteReferenceRelationship : string -> unit
Public Sub DeleteReferenceRelationship (id As String)

Parameters

id
String String String

The relationship ID of the ReferenceRelationship.

Exceptions

Applies to