Delen via


FileTypeUtil.DetermineEncoding Method (Stream, Boolean, Encoding)

Namespace:  Microsoft.TeamFoundation.Diff
Assembly:  Microsoft.TeamFoundation.Diff (in Microsoft.TeamFoundation.Diff.dll)

Syntax

'Declaration
Public Shared Function DetermineEncoding ( _
    stream As Stream, _
    checkForBinary As Boolean, _
    fallbackEncoding As Encoding _
) As Encoding
public static Encoding DetermineEncoding(
    Stream stream,
    bool checkForBinary,
    Encoding fallbackEncoding
)
public:
static Encoding^ DetermineEncoding(
    Stream^ stream, 
    bool checkForBinary, 
    Encoding^ fallbackEncoding
)
static member DetermineEncoding : 
        stream:Stream * 
        checkForBinary:bool * 
        fallbackEncoding:Encoding -> Encoding
public static function DetermineEncoding(
    stream : Stream, 
    checkForBinary : boolean, 
    fallbackEncoding : Encoding
) : Encoding

Parameters

Return Value

Type: System.Text.Encoding

.NET Framework Security

See Also

Reference

FileTypeUtil Class

DetermineEncoding Overload

Microsoft.TeamFoundation.Diff Namespace