OpenXmlPartContainer.DeleteReferenceRelationship Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應