다음을 통해 공유


Difference.CreateTargetDiffItem Method (VersionControlServer, String, VersionSpec, Int32, VersionSpec)

Creates a diff item for the specified item.

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

Syntax

‘선언
Public Shared Function CreateTargetDiffItem ( _
    versionControl As VersionControlServer, _
    path As String, _
    itemVersion As VersionSpec, _
    deletionId As Integer, _
    targetVersion As VersionSpec _
) As IDiffItem
public static IDiffItem CreateTargetDiffItem(
    VersionControlServer versionControl,
    string path,
    VersionSpec itemVersion,
    int deletionId,
    VersionSpec targetVersion
)
public:
static IDiffItem^ CreateTargetDiffItem(
    VersionControlServer^ versionControl, 
    String^ path, 
    VersionSpec^ itemVersion, 
    int deletionId, 
    VersionSpec^ targetVersion
)
static member CreateTargetDiffItem : 
        versionControl:VersionControlServer * 
        path:string * 
        itemVersion:VersionSpec * 
        deletionId:int * 
        targetVersion:VersionSpec -> IDiffItem 
public static function CreateTargetDiffItem(
    versionControl : VersionControlServer, 
    path : String, 
    itemVersion : VersionSpec, 
    deletionId : int, 
    targetVersion : VersionSpec
) : IDiffItem

Parameters

  • deletionId
    Type: System.Int32
    The deletion ID for the item, or 0 if the item was not previously deleted.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IDiffItem
A IDiffItem for the specified item.

.NET Framework Security

See Also

Reference

Difference Class

CreateTargetDiffItem Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace