Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.