This documentation is archived and is not being maintained.
DiffItemVersionedFile Constructor (VersionControlServer, String, VersionSpec, DeletedState)
Visual Studio 2013
Initializes a new instance of the DiffItemVersionedFile class.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public:
DiffItemVersionedFile(
VersionControlServer^ versionControl,
String^ path,
VersionSpec^ version,
DeletedState state
)
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.
- state
- Type: Microsoft.TeamFoundation.VersionControl.Client::DeletedState
The state of the file.
- 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.
Show: