FileType.GetDisplayName Method
Gets the display name of the specified encoding.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function GetDisplayName ( _
encoding As Encoding _
) As String
public static string GetDisplayName(
Encoding encoding
)
public:
static String^ GetDisplayName(
Encoding^ encoding
)
static member GetDisplayName :
encoding:Encoding -> string
public static function GetDisplayName(
encoding : Encoding
) : String
Parameters
encoding
Type: System.Text.EncodingThe encoding for which the display name is desired.
Return Value
Type: System.String
The display name of the specified 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.