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.
Represents the type of part referenced by a DataPartReferenceRelationship.
public class DataPart
type DataPart = class
Public Class DataPart
Gets the content type (MIME type) of the data in the part.
Gets the OpenXmlPackage which contains the current part.
Gets the internal part path in the package.
Feeds data into the part stream. The stream of the part will be truncated at first.
Enumerates all DataPartReferenceRelationships that reference the current data part.
Returns the content data stream of the current part.
Returns the content stream that was opened using a specified I/O FileMode.
Returns the content stream of the part that was opened by using a specified FileMode and FileAccess.
Indicates whether the object is destroyed (deleted from the package).