共用方式為


MediaReferenceRelationship Class

Definition

Represents an internal media reference relationship to a MediaDataPart element.

public class MediaReferenceRelationship : DocumentFormat.OpenXml.Packaging.DataPartReferenceRelationship
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2010)]
public class MediaReferenceRelationship : DocumentFormat.OpenXml.Packaging.DataPartReferenceRelationship
type MediaReferenceRelationship = class
    inherit DataPartReferenceRelationship
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2010)>]
type MediaReferenceRelationship = class
    inherit DataPartReferenceRelationship
Public Class MediaReferenceRelationship
Inherits DataPartReferenceRelationship
Inheritance
Attributes

Constructors

MediaReferenceRelationship(MediaDataPart, String)

Initializes a new instance of the MediaReferenceRelationship class using the supplied MediaDataPart and relationship ID.

Properties

Container

Gets the owner OpenXmlPartContainer that holds the ReferenceRelationship.

(Inherited from ReferenceRelationship)
DataPart

Gets the referenced target DataPart.

(Inherited from DataPartReferenceRelationship)
Id

Gets the relationship ID.

(Inherited from ReferenceRelationship)
IsExternal

Gets a value indicating whether the target of the relationship is Internal or External to the OpenXmlPackage.

(Inherited from ReferenceRelationship)
MediaReferenceRelationshipType

Gets the source relationship type for a media reference.

RelationshipType

Gets the relationship type for a media reference.

Uri

Gets the target URI of the relationship.

(Inherited from ReferenceRelationship)

Applies to