This documentation is archived and is not being maintained.
Difference::CreateTargetDiffItem Method (VersionControlServer, PendingChange, VersionSpec)
Visual Studio 2013
Creates a diff item for the specified file by 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)
public: static IDiffItem^ CreateTargetDiffItem( VersionControlServer^ versionControl, PendingChange^ change, VersionSpec^ targetVersion )
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::IDiffItemAn IDiffItem for the specified pending change.
- 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.
Show: