[This is preliminary documentation and is subject to change.]

Get the record for an existing change from the repository.

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

Syntax

C#
public Changelist GetChangelist(
	int changeId,
	Options options
)
Visual Basic
Public Function GetChangelist ( _
	changeId As Integer, _
	options As Options _
) As Changelist
Visual C++
public:
Changelist^ GetChangelist(
	int changeId, 
	Options^ options
)

Parameters

changeId
Type: System..::..Int32
options
Type: Perforce.P4..::..Options
'-f' or '-s' are valid flags to use when fetching an existing change

Return Value

The Changelist object if new change was found, null if creation failed

See Also