Delen via


FileTypeUtil.DetermineEncoding Method (String, Boolean, Encoding)

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

Syntax

'Declaration
Public Shared Function DetermineEncoding ( _
    path As String, _
    checkForBinary As Boolean, _
    fallbackEncoding As Encoding _
) As Encoding
public static Encoding DetermineEncoding(
    string path,
    bool checkForBinary,
    Encoding fallbackEncoding
)
public:
static Encoding^ DetermineEncoding(
    String^ path, 
    bool checkForBinary, 
    Encoding^ fallbackEncoding
)
static member DetermineEncoding : 
        path:string * 
        checkForBinary:bool * 
        fallbackEncoding:Encoding -> Encoding
public static function DetermineEncoding(
    path : String, 
    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