Checks whether the specified encoding is supported by the diff/merge engine.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Shared Function IsEncodingSupported ( _
    encoding As Encoding _
) As Boolean
public static bool IsEncodingSupported(
    Encoding encoding
)
public:
static bool IsEncodingSupported(
    Encoding^ encoding
)
static member IsEncodingSupported : 
        encoding:Encoding -> bool 
public static function IsEncodingSupported(
    encoding : Encoding
) : boolean
Parameters
- encoding
 Type: System.Text.Encoding
 The encoding to check.
Return Value
Type: System.Boolean
True if the specified encoding is supported by the diff/merge engine; otherwise, false.
.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.