Partager via


FileTypeUtil.DetermineEncoding, méthode (Stream, Boolean, Encoding, Boolean, Boolean%)

Espace de noms :  Microsoft.TeamFoundation.Diff
Assembly :  Microsoft.TeamFoundation.Diff (dans Microsoft.TeamFoundation.Diff.dll)

Syntaxe

'Déclaration
Public Shared Function DetermineEncoding ( _
    stream As Stream, _
    checkForBinary As Boolean, _
    fallbackEncoding As Encoding, _
    scanFullFile As Boolean, _
    <OutAttribute> ByRef containsPreamble As Boolean _
) As Encoding
public static Encoding DetermineEncoding(
    Stream stream,
    bool checkForBinary,
    Encoding fallbackEncoding,
    bool scanFullFile,
    out bool containsPreamble
)

Paramètres

Valeur de retour

Type : System.Text.Encoding

Sécurité .NET Framework

Voir aussi

Référence

FileTypeUtil Classe

DetermineEncoding, surcharge

Microsoft.TeamFoundation.Diff, espace de noms