Partilhar via


IEncodingDetector Interface

Definition

Attempts to detect a text encoding associated with a stream.

public interface class IEncodingDetector
public interface class IEncodingDetector
__interface IEncodingDetector
public interface IEncodingDetector
type IEncodingDetector = interface
Public Interface IEncodingDetector

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(IEncodingDetector))]

Exports must include a [Name] attribute and at least one [ContentType] attribute. Exports may optionally include the [Order] attribute.

Methods

GetStreamEncoding(Stream)

Attempts to detect an encoding associated with a stream.

Applies to