共用方式為


DiffItemVersionedFile Constructor (VersionControlServer, String, VersionSpec)

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, _
    path As String, _
    version As VersionSpec _
)
public DiffItemVersionedFile(
    VersionControlServer versionControl,
    string path,
    VersionSpec version
)
public:
DiffItemVersionedFile(
    VersionControlServer^ versionControl, 
    String^ path, 
    VersionSpec^ version
)
new : 
        versionControl:VersionControlServer * 
        path:string * 
        version:VersionSpec -> DiffItemVersionedFile
public function DiffItemVersionedFile(
    versionControl : VersionControlServer, 
    path : String, 
    version : VersionSpec
)

Parameters

  • path
    Type: System.String

    The path of the file for which to create a diff item.

.NET Framework Security

See Also

Reference

DiffItemVersionedFile Class

DiffItemVersionedFile Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace