Click or drag to resize

FileMetaData Constructor (DepotPath, Boolean, Boolean, FileAction, Int32, Int32, FileType, DateTime, DateTime, Int32, Int32, String, String, Int32, FileAction, FileType, String, Int32, Boolean, Boolean, Boolean, Int32, ListString, Boolean, ListString, ListFileAction, ListInt32, Boolean, ListFileResolveAction, DictionaryString, Object, DictionaryString, Object, DictionaryString, Object, DictionaryString, Object, DictionaryString, Object, Int64, String)

Parameterized constructor

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public FileMetaData(
	DepotPath movedfile,
	bool ismapped,
	bool shelved,
	FileAction headaction,
	int headchange,
	int headrev,
	FileType headtype,
	DateTime headtime,
	DateTime headmodtime,
	int movedrev,
	int haverev,
	string desc,
	string digest,
	int filesize,
	FileAction action,
	FileType type,
	string actionowner,
	int change,
	bool resolved,
	bool unresolved,
	bool reresolvable,
	int otheropen,
	List<string> otheropenuserclients,
	bool otherlock,
	List<string> otherlockuserclients,
	List<FileAction> otheractions,
	List<int> otherchanges,
	bool ourlock,
	List<FileResolveAction> resolverecords,
	Dictionary<string, Object> attributes,
	Dictionary<string, Object> attributesprop,
	Dictionary<string, Object> attributedigests,
	Dictionary<string, Object> openattributes,
	Dictionary<string, Object> openattributesprop,
	long totalfilecount,
	string directory
)

Parameters

movedfile
Type: Perforce.P4DepotPath
was file moved?
ismapped
Type: SystemBoolean
is file in workspace?
shelved
Type: SystemBoolean
is file shelved
headaction
Type: Perforce.P4FileAction
Last Action to File
headchange
Type: SystemInt32
Change ID
headrev
Type: SystemInt32
Head Revision
headtype
Type: Perforce.P4FileType
Type of File
headtime
Type: SystemDateTime
Time file created
headmodtime
Type: SystemDateTime
Last modified time
movedrev
Type: SystemInt32
Revision which was moved
haverev
Type: SystemInt32
Revision we have
desc
Type: SystemString
Description of File
digest
Type: SystemString
Digest for file
filesize
Type: SystemInt32
size of file
action
Type: Perforce.P4FileAction
current action on file
type
Type: Perforce.P4FileType
file type
actionowner
Type: SystemString
owner of file
change
Type: SystemInt32
current change ID
resolved
Type: SystemBoolean
Resolved
unresolved
Type: SystemBoolean
Unresolved
reresolvable
Type: SystemBoolean
Re-Resolvable
otheropen
Type: SystemInt32
How many others have file open?
otheropenuserclients
Type: System.Collections.GenericListString
List of other clients with file open
otherlock
Type: SystemBoolean
true if other user has file locked
otherlockuserclients
Type: System.Collections.GenericListString
List of other clients locking this file
otheractions
Type: System.Collections.GenericListFileAction
List of other FileActions
otherchanges
Type: System.Collections.GenericListInt32
List of other change ID's
ourlock
Type: SystemBoolean
This file is locked by us
resolverecords
Type: System.Collections.GenericListFileResolveAction
List of resolve records
attributes
Type: System.Collections.GenericDictionaryString, Object
Dictionary of attributes
attributesprop
Type: System.Collections.GenericDictionaryString, Object
Dictionary of attribute properties
attributedigests
Type: System.Collections.GenericDictionaryString, Object
Dictionary of attribute digests
openattributes
Type: System.Collections.GenericDictionaryString, Object
Dictionary of open attributes
openattributesprop
Type: System.Collections.GenericDictionaryString, Object
Dictionary of open attribute properties
totalfilecount
Type: SystemInt64
count of files
directory
Type: SystemString
location of file
See Also