IEncodingDetector Interface

Attempts to detect the text encoding associated with a stream.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IEncodingDetector

The IEncodingDetector type exposes the following members.

Public methodGetStreamEncodingAttempts to detect the encoding associated with a stream.

This is a MEF component part, and should be exported with the following attribute:


Exports must include a NameAttribute, a ContentTypeAttribute, and optionally an OrderAttribute.