Partager via


Difference.CreateTargetDiffItem Method (VersionControlServer, PendingChange, VersionSpec)

Creates a diff item for the specified file using a pending change object at the specified target version.

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

Syntax

'Déclaration
Public Shared Function CreateTargetDiffItem ( _
    versionControl As VersionControlServer, _
    change As PendingChange, _
    targetVersion As VersionSpec _
) As IDiffItem
public static IDiffItem CreateTargetDiffItem(
    VersionControlServer versionControl,
    PendingChange change,
    VersionSpec targetVersion
)
public:
static IDiffItem^ CreateTargetDiffItem(
    VersionControlServer^ versionControl, 
    PendingChange^ change, 
    VersionSpec^ targetVersion
)
static member CreateTargetDiffItem : 
        versionControl:VersionControlServer * 
        change:PendingChange * 
        targetVersion:VersionSpec -> IDiffItem 
public static function CreateTargetDiffItem(
    versionControl : VersionControlServer, 
    change : PendingChange, 
    targetVersion : VersionSpec
) : IDiffItem

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IDiffItem
An IDiffItem for the specified pending change.

.NET Framework Security

See Also

Reference

Difference Class

CreateTargetDiffItem Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace