Click or drag to resize

File Constructor (DepotPath, ClientPath, Revision, Revision, Int32, FileAction, FileType, DateTime, String, String)

Fully parameterized constructor

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
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.P4DepotPath
Server Depot Path
clientPath
Type: Perforce.P4ClientPath
Client workspace Path
rev
Type: Perforce.P4Revision
Latest Revision of this file
haveRev
Type: Perforce.P4Revision
Revision of this file in the workspace
change
Type: SystemInt32
Change ID which contains this file
action
Type: Perforce.P4FileAction
Last Action taken on this file
type
Type: Perforce.P4FileType
The file type
submittime
Type: SystemDateTime
The time when the file was submitted
user
Type: SystemString
the User which created this file
client
Type: SystemString
the name of the client/workspace which contains this file
See Also