IEncodingDetector Interface

Definition

Attempts to detect a text encoding associated with a stream.

C++/CX
public interface class 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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022