Lock files

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

Syntax

C#
public IList<FileSpec> LockFiles(
	IList<FileSpec> files,
	Options options
)
Visual Basic
Public Function LockFiles ( _
	files As IList(Of FileSpec), _
	options As Options _
) As IList(Of FileSpec)
Visual C++
public:
IList<FileSpec^>^ LockFiles(
	IList<FileSpec^>^ files, 
	Options^ options
)

Parameters

files
Type: System.Collections.Generic..::..IList<(Of <(<'FileSpec>)>)>
List of files to lock
options
Type: Perforce.P4..::..Options
command options

Return Value

files which were locked

See Also