Export (0) Print
Expand All

FileType.GetEncodingFromCodePage Method

Gets the encoding that is associated with the specified code page.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public static Encoding GetEncodingFromCodePage(
	int codePage
)

Parameters

codePage
Type: System.Int32

The code page for which the encoding is desired.

Return Value

Type: System.Text.Encoding
The encoding of the specified code page.

This method does not support binary because that cannot be represented by an Encoding object.

Show:
© 2014 Microsoft