Parameterized constructor

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

Syntax

C#
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
)
Visual Basic
Public Sub New ( _
	movedfile As DepotPath, _
	ismapped As Boolean, _
	shelved As Boolean, _
	headaction As FileAction, _
	headchange As Integer, _
	headrev As Integer, _
	headtype As FileType, _
	headtime As DateTime, _
	headmodtime As DateTime, _
	movedrev As Integer, _
	haverev As Integer, _
	desc As String, _
	digest As String, _
	filesize As Integer, _
	action As FileAction, _
	type As FileType, _
	actionowner As String, _
	change As Integer, _
	resolved As Boolean, _
	unresolved As Boolean, _
	reresolvable As Boolean, _
	otheropen As Integer, _
	otheropenuserclients As List(Of String), _
	otherlock As Boolean, _
	otherlockuserclients As List(Of String), _
	otheractions As List(Of FileAction), _
	otherchanges As List(Of Integer), _
	ourlock As Boolean, _
	resolverecords As List(Of FileResolveAction), _
	attributes As Dictionary(Of String, Object), _
	attributesprop As Dictionary(Of String, Object), _
	attributedigests As Dictionary(Of String, Object), _
	openattributes As Dictionary(Of String, Object), _
	openattributesprop As Dictionary(Of String, Object), _
	totalfilecount As Long, _
	directory As String _
)
Visual C++
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 long totalfilecount, 
	String^ directory
)

Parameters

movedfile
Type: Perforce.P4..::..DepotPath
was file moved?
ismapped
Type: System..::..Boolean
is file in workspace?
shelved
Type: System..::..Boolean
is file shelved
headaction
Type: Perforce.P4..::..FileAction
Last Action to File
headchange
Type: System..::..Int32
Change ID
headrev
Type: System..::..Int32
Head Revision
headtype
Type: Perforce.P4..::..FileType
Type of File
headtime
Type: System..::..DateTime
Time file created
headmodtime
Type: System..::..DateTime
Last modified time
movedrev
Type: System..::..Int32
Revision which was moved
haverev
Type: System..::..Int32
Revision we have
desc
Type: System..::..String
Description of File
digest
Type: System..::..String
Digest for file
filesize
Type: System..::..Int32
size of file
action
Type: Perforce.P4..::..FileAction
current action on file
type
Type: Perforce.P4..::..FileType
file type
actionowner
Type: System..::..String
owner of file
change
Type: System..::..Int32
current change ID
resolved
Type: System..::..Boolean
Resolved
unresolved
Type: System..::..Boolean
Unresolved
reresolvable
Type: System..::..Boolean
Re-Resolvable
otheropen
Type: System..::..Int32
How many others have file open?
otheropenuserclients
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
List of other clients with file open
otherlock
Type: System..::..Boolean
true if other user has file locked
otherlockuserclients
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
List of other clients locking this file
otheractions
Type: System.Collections.Generic..::..List<(Of <(<'FileAction>)>)>
List of other FileActions
otherchanges
Type: System.Collections.Generic..::..List<(Of <(<'Int32>)>)>
List of other change ID's
ourlock
Type: System..::..Boolean
This file is locked by us
resolverecords
Type: System.Collections.Generic..::..List<(Of <(<'FileResolveAction>)>)>
List of resolve records
attributes
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
Dictionary of attributes
attributesprop
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
Dictionary of attribute properties
attributedigests
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
Dictionary of attribute digests
openattributes
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
Dictionary of open attributes
openattributesprop
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
Dictionary of open attribute properties
totalfilecount
Type: System..::..Int64
count of files
directory
Type: System..::..String
location of file

See Also