Freigeben über


PendingChange.GetLocalizedStringForChangeType Method (ChangeType, Boolean)

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

'Declaration
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

  • 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

See Also

Reference

PendingChange Class

GetLocalizedStringForChangeType Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace