Поделиться через


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

  • 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

See Also

Reference

DiffItemVersionedFile Class

DiffItemVersionedFile Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace