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: 2024.2.269.3570
Syntaxpublic File(
DepotPath depotPath,
ClientPath clientPath,
Revision rev,
Revision haveRev,
int change,
FileAction action,
FileType type,
DateTime submittime,
string user,
string client
)
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
)
public:
File(
DepotPath^ depotPath,
ClientPath^ clientPath,
Revision^ rev,
Revision^ haveRev,
int change,
FileAction action,
FileType^ type,
DateTime submittime,
String^ user,
String^ client
)
new :
depotPath : DepotPath *
clientPath : ClientPath *
rev : Revision *
haveRev : Revision *
change : int *
action : FileAction *
type : FileType *
submittime : DateTime *
user : string *
client : string -> File
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