Aracılığıyla paylaş


OpenXmlPartContainer.DeleteReferenceRelationship Method

Definition

Overloads

DeleteReferenceRelationship(ReferenceRelationship)

Deletes the specified reference relationship.

DeleteReferenceRelationship(String)

Deletes the specified reference relationship.

DeleteReferenceRelationship(ReferenceRelationship)

Deletes the specified reference relationship.

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

Parameters

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.

Applies to

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

The relationship ID of the ReferenceRelationship.

Exceptions

Thrown when the "id" parameter is null.

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

Applies to