Creates a user-readable localized string for the change type.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Shared Function GetLocalizedStringForChangeType ( _
    type As ChangeType, _
    showLock As Boolean _
) As String
public static string GetLocalizedStringForChangeType(
    ChangeType type,
    bool showLock
)
public:
static String^ GetLocalizedStringForChangeType(
    ChangeType type, 
    bool showLock
)
static member GetLocalizedStringForChangeType : 
        type:ChangeType * 
        showLock:bool -> string 
public static function GetLocalizedStringForChangeType(
    type : ChangeType, 
    showLock : boolean
) : String
Parameters
- type
 Type: Microsoft.TeamFoundation.VersionControl.Client.ChangeType
 The change type to convert to a localized string.
- showLock
 Type: System.Boolean
 True to show the lock change type in a string. False to not show.
Return Value
Type: System.String
The localized string. May be an empty string if the input was ChangeType.None.
.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.