Initializes a new instance of the FileHistory class

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

Syntax

C#
public FileHistory(
	int revision,
	int changelistid,
	FileAction action,
	DateTime date,
	string username,
	FileType filetype,
	string description,
	string digest,
	long filesize,
	PathSpec depotpath,
	string clientname,
	List<RevisionIntegrationSummary> integrationsummaries
)
Visual Basic
Public Sub New ( _
	revision As Integer, _
	changelistid As Integer, _
	action As FileAction, _
	date As DateTime, _
	username As String, _
	filetype As FileType, _
	description As String, _
	digest As String, _
	filesize As Long, _
	depotpath As PathSpec, _
	clientname As String, _
	integrationsummaries As List(Of RevisionIntegrationSummary) _
)
Visual C++
public:
FileHistory(
	int revision, 
	int changelistid, 
	FileAction action, 
	DateTime date, 
	String^ username, 
	FileType^ filetype, 
	String^ description, 
	String^ digest, 
	long long filesize, 
	PathSpec^ depotpath, 
	String^ clientname, 
	List<RevisionIntegrationSummary^>^ integrationsummaries
)

Parameters

revision
Type: System..::..Int32
changelistid
Type: System..::..Int32
action
Type: Perforce.P4..::..FileAction
date
Type: System..::..DateTime
username
Type: System..::..String
filetype
Type: Perforce.P4..::..FileType
description
Type: System..::..String
digest
Type: System..::..String
filesize
Type: System..::..Int64
depotpath
Type: Perforce.P4..::..PathSpec
clientname
Type: System..::..String
integrationsummaries
Type: System.Collections.Generic..::..List<(Of <(<'RevisionIntegrationSummary>)>)>

See Also