Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the code page that represents the specified encoding.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function GetEncodingCodePage ( _
encoding As String _
) As Integer
public static int GetEncodingCodePage(
string encoding
)
public:
static int GetEncodingCodePage(
String^ encoding
)
static member GetEncodingCodePage :
encoding:string -> int
public static function GetEncodingCodePage(
encoding : String
) : int
Parameters
encoding
Type: System.StringThe encoding for which the code page is desired.
Return Value
Type: System.Int32
The code page that represents the specified encoding.
Exceptions
Exception | Condition |
---|---|
InvalidFileTypeException |
.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.