Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.VersionControlServer- The version control server that contains the item. 
- itemId 
 Type: System.Int32- The ID of the item for which to create a diff item. 
- changeset 
 Type: System.Int32- The changeset version of the item. 
- displayPath 
 Type: System.String- The 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.