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
'Dichiarazione
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
- versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The version control server that contains the item.
- path
Type: System.String
The path of the file for which to create a diff item.
- version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The version spec of the specified item.
.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.