IEncodingDetector, interface
Essaie de détecter l'encodage de texte associé à un flux de données.
Espace de noms : Microsoft.VisualStudio.Text
Assembly : Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)
Syntaxe
'Déclaration
Public Interface IEncodingDetector
public interface IEncodingDetector
public interface class IEncodingDetector
type IEncodingDetector = interface end
public interface IEncodingDetector
Le type IEncodingDetector expose les membres suivants.
Méthodes
Nom | Description | |
---|---|---|
![]() |
GetStreamEncoding | Essaie de détecter l'encodage associé à un flux de données. |
Début
Notes
C'est un composant MEF, et doit être exportée avec l'attribut suivant :
[Export(NameSource=typeof(IEncodingDetector))]
Les exportations doivent comprendre NameAttribute, ContentTypeAttribute, et éventuellement OrderAttribute.