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
- path
Type: System.String
Return Value
Type: System.Text.Encoding
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.