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
'宣告
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
- changeType
Type: Microsoft.TeamFoundation.VersionControl.Client.ChangeType
The change type to check.
Return Value
Type: System.Boolean
True if the change type is a source rename; 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.