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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기