指定されたターゲットのバージョンで保留中の変更のオブジェクトを使用して、指定したファイルの比較の項目を作成します。
名前空間: Microsoft.TeamFoundation.VersionControl.Client
アセンブリ: Microsoft.TeamFoundation.VersionControl.Client (Microsoft.TeamFoundation.VersionControl.Client.dll 内)
構文
'宣言
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
)
パラメーター
- versionControl
型 : Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
バージョン コントロール サーバー。
- change
型 : Microsoft.TeamFoundation.VersionControl.Client.PendingChange
項目を表す保留中の変更。
- targetVersion
型 : Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
IDiffItem を作成するファイルのバージョン。
戻り値
型 : Microsoft.TeamFoundation.VersionControl.Client.IDiffItem
指定した保留中の変更の IDiffItem。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。