Share via


OpenXmlReader.Encoding Property

Gets the encoding of the XML file.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Encoding As String
    Get
'Usage
Dim instance As OpenXmlReader
Dim value As String

value = instance.Encoding
public virtual string Encoding { get; }

Property Value

Type: System.String
Returns Encoding.

See Also

Reference

OpenXmlReader Class

OpenXmlReader Members

DocumentFormat.OpenXml Namespace