Delen via


FileTypeUtil.TryDetermineTextEncoding Method

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

Syntax

'Declaration
Public Shared Function TryDetermineTextEncoding ( _
    path As String _
) As Encoding
public static Encoding TryDetermineTextEncoding(
    string path
)
public:
static Encoding^ TryDetermineTextEncoding(
    String^ path
)
static member TryDetermineTextEncoding : 
        path:string -> Encoding
public static function TryDetermineTextEncoding(
    path : String
) : Encoding

Parameters

Return Value

Type: System.Text.Encoding

.NET Framework Security

See Also

Reference

FileTypeUtil Class

Microsoft.TeamFoundation.Diff Namespace