Share via


OpenXmlPackage Members (Microsoft.Office.DocumentFormat.OpenXml.Packaging)

[このトピックはプレリリースのドキュメントであり、今後のリリース時に変更される可能性があります。空白のトピックはプレースホルダとして表示されています。]

Base class for strong typed package (document) class.

The following tables list the members exposed by the OpenXmlPackage type.

Protected Constructors

  Name Description
Protected method OpenXmlPackage OpenXmlPackage constructor

Top

Public Properties

  Name Description
Public property CompressionOption Get / Set the compression level for content of new part.
Public property ExternalRelationships  (inherited from OpenXmlPartContainer)
Public property Package Gets the Package of the document.
Public property PackageProperties  
Public property PartExtensionProvider PartExtensionProvider which provides map from ContentType to part extension.
Public property Parts  Enum all parts which are relationship targets of this part. (inherited from OpenXmlPartContainer)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method AddExtendedPart  (inherited from OpenXmlPartContainer)
Public method AddExternalRelationship  Overloaded. (inherited from OpenXmlPartContainer)
Public method AddPart Overloaded. Overridden.  
Public method Close Saves and closes the OpenXml package plus all underlying part streams.
Public method DeleteExternalRelationship  (inherited from OpenXmlPartContainer)
Public method DeletePart  Overloaded. (inherited from OpenXmlPartContainer)
Public method DeleteParts  (inherited from OpenXmlPartContainer)
Public method DeletePartsRecursivelyOfType Delete all the parts which is the specified part type from package recursively.
Public method Dispose Overloaded. Flushes and saves the content, closes the document, and releases all resources.
Public method Equals  Overloaded. (inherited from Object)
Public method GetHashCode  (inherited from Object)
Public method GetIdOfPart  (inherited from OpenXmlPartContainer)
Public method GetPartById  (inherited from OpenXmlPartContainer)
Public method GetPartsCountOfType  (inherited from OpenXmlPartContainer)
Public method GetPartsOfType  Overloaded. (inherited from OpenXmlPartContainer)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)
Public method Validate Validate the package (do not validate the xml content in each part).

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded.  
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Protected method ThrowIfObjectDisposed Overridden. Throw if object is disposed.

Top

参照

リファレンス

OpenXmlPackage Class
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace