Share via


OpenXmlPart.TargetFileExtension Property

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Defines the file extension to be used for the part in the package.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Protected Friend Overridable ReadOnly Property TargetFileExtension As String
    Get
'Usage
Dim value As String

value = Me.TargetFileExtension
protected internal virtual string TargetFileExtension { get; }

Property Value

Type: System.String

See Also

Reference

OpenXmlPart Class

OpenXmlPart Members

DocumentFormat.OpenXml.Packaging Namespace