Share via


OpenXmlReader.Encoding Property

Definition

Gets the encoding of the XML file.

public virtual string Encoding { get; }
public virtual string? Encoding { get; }
member this.Encoding : string
Public Overridable ReadOnly Property Encoding As String

Property Value

Returns Encoding.

Remarks

Returns null if the encoding is not specified in the XML file.

Applies to