Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
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
- versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The version control server.
- path
Type: System.String
The local or server path of the item.
- itemVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The version of the item that is specified by path.
- deletionId
Type: System.Int32
The deletion ID for the item, or 0 if the item was not previously deleted.
- 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
A IDiffItem for the specified item.
.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.