IEncodingDetector Interface
TOC
Collapse the table of content
Expand the table of content

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

NameDescription
System_CAPS_pubmethodGetStreamEncoding(Stream)

Attempts to detect the encoding associated with a stream.

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

[Export(NameSource=typeof(IEncodingDetector))]

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

Return to top
Show:
© 2016 Microsoft