Fully parameterized constructor

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public File(
	DepotPath depotPath,
	ClientPath clientPath,
	Revision rev,
	Revision haveRev,
	int change,
	FileAction action,
	FileType type,
	DateTime submittime,
	string user,
	string client
)
Visual Basic
Public Sub New ( _
	depotPath As DepotPath, _
	clientPath As ClientPath, _
	rev As Revision, _
	haveRev As Revision, _
	change As Integer, _
	action As FileAction, _
	type As FileType, _
	submittime As DateTime, _
	user As String, _
	client As String _
)
Visual C++
public:
File(
	DepotPath^ depotPath, 
	ClientPath^ clientPath, 
	Revision^ rev, 
	Revision^ haveRev, 
	int change, 
	FileAction action, 
	FileType^ type, 
	DateTime submittime, 
	String^ user, 
	String^ client
)

Parameters

depotPath
Type: Perforce.P4..::..DepotPath
Server Depot Path
clientPath
Type: Perforce.P4..::..ClientPath
Client workspace Path
rev
Type: Perforce.P4..::..Revision
Latest Revision of this file
haveRev
Type: Perforce.P4..::..Revision
Revision of this file in the workspace
change
Type: System..::..Int32
Change ID which contains this file
action
Type: Perforce.P4..::..FileAction
Last Action taken on this file
type
Type: Perforce.P4..::..FileType
The file type
submittime
Type: System..::..DateTime
The time when the file was submitted
user
Type: System..::..String
the User which created this file
client
Type: System..::..String
the name of the client/workspace which contains this file

See Also