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
‘선언
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
- versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The version control server.
- change
Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange
The pending change describing the item.
- targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The version of the file to create the IDiffItem for.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.IDiffItem
An IDiffItem for the specified pending change.
.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.