次の方法で共有


OpenXmlPartContainer.DeleteReferenceRelationship Method (ReferenceRelationship)

Deletes the specified reference relationship.

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

Syntax

'宣言
Public Sub DeleteReferenceRelationship ( _
    referenceRelationship As ReferenceRelationship _
)
'使用
Dim instance As OpenXmlPartContainer
Dim referenceRelationship As ReferenceRelationship

instance.DeleteReferenceRelationship(referenceRelationship)
public void DeleteReferenceRelationship(
    ReferenceRelationship referenceRelationship
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when "referenceRelationship" is null reference.

InvalidOperationException

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

See Also

Reference

OpenXmlPartContainer Class

OpenXmlPartContainer Members

DeleteReferenceRelationship Overload

DocumentFormat.OpenXml.Packaging Namespace