OpenXmlPart Members (Microsoft.Office.DocumentFormat.OpenXml.Packaging)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Abstract base class for all OpenXml parts.
The following tables list the members exposed by the OpenXmlPart type.
Protected Constructors
Name | Description | |
---|---|---|
![]() |
OpenXmlPart | OpenXmlPart constructor |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
![]() |
ContentType | Content type (MIME type) of the content data in the part. |
![]() |
ExternalRelationships | (inherited from OpenXmlPartContainer) |
![]() |
OpenXmlPackage | The OpenXmlPackage contains this part. |
![]() |
Parts | Enum all parts which are relationship targets of this part. (inherited from OpenXmlPartContainer) |
![]() |
RelationshipType | The relationship type of the part. |
![]() |
Uri | The internal part path in the package. |
Top
Protected Properties
Name | Description | |
---|---|---|
![]() |
TargetFileExtension | |
![]() |
TargetName | The file base name to be used for the part name in the package. |
![]() |
TargetPath | The internal path to be used for the part name. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
AddAnnotation | (inherited from OpenXmlPartContainer) |
![]() |
AddExtendedPart | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
AddExternalRelationship | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
AddNewPart | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
AddPart | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
Annotation | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
Annotations | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
DeleteExternalRelationship | (inherited from OpenXmlPartContainer) |
![]() |
DeletePart | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
DeleteParts | (inherited from OpenXmlPartContainer) |
![]() |
Equals | Overloaded. (inherited from Object) |
![]() |
FeedData | Feed data into the part stream. The stream of the part will be truncated at first. |
![]() |
GetHashCode | (inherited from Object) |
![]() |
GetIdOfPart | (inherited from OpenXmlPartContainer) |
![]() |
GetParentParts | |
![]() |
GetPartById | (inherited from OpenXmlPartContainer) |
![]() |
GetPartsCountOfType | (inherited from OpenXmlPartContainer) |
![]() |
GetPartsOfType | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
GetStream | Overloaded. Returns the part content data stream. |
![]() |
GetType | (inherited from Object) |
![]() ![]() |
ReferenceEquals | (inherited from Object) |
![]() |
RemoveAnnotations | Overloaded. (inherited from OpenXmlPartContainer) |
![]() |
ToString | (inherited from Object) |
![]() |
ValidateXml | Validate the xml content of the part according the specified schema. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object) |
![]() |
MemberwiseClone | (inherited from Object) |
![]() |
ThrowIfObjectDisposed | Overridden. Test whether the object is already disposed. |
Top
See Also
Reference
OpenXmlPart Class
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace