Share via


MediaDataPart Members

Include Protected Members
Include Inherited Members

Defines MediaDataPart - class to represent media (Audio, Video) data part in document.

The MediaDataPart type exposes the following members.

Properties

  Name Description
Public property ContentType Gets the content type (MIME type) of the data in the part. (Inherited from DataPart.)
Public property OpenXmlPackage Gets the OpenXmlPackage which contains this part. (Inherited from DataPart.)
Public property Uri Gets the internal part path in the package. (Inherited from DataPart.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method FeedData Feeds data into the part stream. The stream of the part will be truncated at first. (Inherited from DataPart.)
Protected method Finalize (Inherited from Object.)
Public method GetDataPartReferenceRelationships Enumerates all the DataPartReferenceRelationship that referencing this data part. (Inherited from DataPart.)
Public method GetHashCode (Inherited from Object.)
Public method GetStream() Returns the part content data stream. (Inherited from DataPart.)
Public method GetStream(FileMode) Returns the content stream opened in a specified I/O FileMode. (Inherited from DataPart.)
Public method GetStream(FileMode, FileAccess) Returns the part content stream opened with a specified FileMode and FileAccess. (Inherited from DataPart.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ThrowIfObjectDisposed Test whether the object is already destroyed (deleted from the package). (Inherited from DataPart.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

MediaDataPart Class

DocumentFormat.OpenXml.Packaging Namespace