FileType.GetEncodingName Method
Gets the name of the encoding that is associated with the specified integer.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣告
Public Shared Function GetEncodingName ( _
encoding As Integer _
) As String
public static string GetEncodingName(
int encoding
)
public:
static String^ GetEncodingName(
int encoding
)
static member GetEncodingName :
encoding:int -> string
public static function GetEncodingName(
encoding : int
) : String
Parameters
- encoding
Type: System.Int32
The integer ID of the desired encoding.
Return Value
Type: System.String
The name of the encoding that is associated with the specified integer.
.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.