Partager via


PendingChange.IsSourceRename Method

Checks whether the specified change type is a source rename and does not contain an add, branch, or rename.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Shared Function IsSourceRename ( _
    changeType As ChangeType _
) As Boolean
public static bool IsSourceRename(
    ChangeType changeType
)
public:
static bool IsSourceRename(
    ChangeType changeType
)
static member IsSourceRename : 
        changeType:ChangeType -> bool
public static function IsSourceRename(
    changeType : ChangeType
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the change type is a source rename; otherwise, false.

.NET Framework Security

See Also

Reference

PendingChange Class

Microsoft.TeamFoundation.VersionControl.Client Namespace