DiffItemVersionedFile Constructor (VersionControlServer, String, VersionSpec, DeletedState)
Initializes a new instance of the DiffItemVersionedFile class.
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, _
state As DeletedState _
)
public DiffItemVersionedFile(
VersionControlServer versionControl,
string path,
VersionSpec version,
DeletedState state
)
public:
DiffItemVersionedFile(
VersionControlServer^ versionControl,
String^ path,
VersionSpec^ version,
DeletedState state
)
new :
versionControl:VersionControlServer *
path:string *
version:VersionSpec *
state:DeletedState -> DiffItemVersionedFile
public function DiffItemVersionedFile(
versionControl : VersionControlServer,
path : String,
version : VersionSpec,
state : DeletedState
)
Parameters
versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe version control server that contains the item.
path
Type: System.StringThe path of the file for which to create a diff item.
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version spec of the specified item.
state
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedStateThe state of the file.
.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.