DiffItemVersionedFile Constructor (VersionControlServer, Int32, Int32, String)
Initializes a new DiffItemVersionedFile instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
versionControl As VersionControlServer, _
itemId As Integer, _
changeset As Integer, _
displayPath As String _
)
public DiffItemVersionedFile(
VersionControlServer versionControl,
int itemId,
int changeset,
string displayPath
)
public:
DiffItemVersionedFile(
VersionControlServer^ versionControl,
int itemId,
int changeset,
String^ displayPath
)
new :
versionControl:VersionControlServer *
itemId:int *
changeset:int *
displayPath:string -> DiffItemVersionedFile
public function DiffItemVersionedFile(
versionControl : VersionControlServer,
itemId : int,
changeset : int,
displayPath : String
)
Parameters
versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe version control server that contains the item.
itemId
Type: System.Int32The ID of the item for which to create a diff item.
changeset
Type: System.Int32The changeset version of the item.
displayPath
Type: System.StringThe path to use when constructing an exception in the event of the item not existing on the server.
.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.