Initializes a new instance of the FileMetaData class

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

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
ismapped
Type: System..::..Boolean
shelved
Type: System..::..Boolean
headaction
Type: Perforce.P4..::..FileAction
headchange
Type: System..::..Int32
headrev
Type: System..::..Int32
headtype
Type: Perforce.P4..::..FileType
headtime
Type: System..::..DateTime
headmodtime
Type: System..::..DateTime
movedrev
Type: System..::..Int32
haverev
Type: System..::..Int32
desc
Type: System..::..String
digest
Type: System..::..String
filesize
Type: System..::..Int32
action
Type: Perforce.P4..::..FileAction
type
Type: Perforce.P4..::..FileType
actionowner
Type: System..::..String
change
Type: System..::..Int32
resolved
Type: System..::..Boolean
unresolved
Type: System..::..Boolean
reresolvable
Type: System..::..Boolean
otheropen
Type: System..::..Int32
otheropenuserclients
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
otherlock
Type: System..::..Boolean
otherlockuserclients
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
otheractions
Type: System.Collections.Generic..::..List<(Of <(<'FileAction>)>)>
otherchanges
Type: System.Collections.Generic..::..List<(Of <(<'Int32>)>)>
ourlock
Type: System..::..Boolean
resolverecords
Type: System.Collections.Generic..::..List<(Of <(<'FileResolveAction>)>)>
attributes
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
attributesprop
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
attributedigests
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
openattributes
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
openattributesprop
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
totalfilecount
Type: System..::..Int64
directory
Type: System..::..String

See Also