[This is preliminary documentation and is subject to change.]
Options for GetOpenedFiles
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)
Syntax
C# |
---|
public Options( GetOpenedFilesCmdFlags flags, string changelist, string client, string user, int maxItems ) |
Visual Basic |
---|
Public Sub New ( _ flags As GetOpenedFilesCmdFlags, _ changelist As String, _ client As String, _ user As String, _ maxItems As Integer _ ) |
Visual C++ |
---|
public: Options( GetOpenedFilesCmdFlags flags, String^ changelist, String^ client, String^ user, int maxItems ) |
Parameters
- flags
- Type: Perforce.P4..::..GetOpenedFilesCmdFlags
- changelist
- Type: System..::..String
- client
- Type: System..::..String
- user
- Type: System..::..String
- maxItems
- Type: System..::..Int32
Remarks
p4 help opened
opened -- List open files and display file status
p4 opened [-a -c changelist# -C client -u user -m max] [file ...]
Lists files currently opened in pending changelists, or, for
specified files, show whether they are currently opened or locked.
If the file specification is omitted, all files open in the current
client workspace are listed.
The -a flag lists opened files in all clients. By default, only
files opened by the current client are listed.
The -c changelist# flag lists files opened in the specified
changelist#.
The -C client flag lists files open in the specified client workspace.
The -u user flag lists files opened by the specified user.
The -m max flag limits output to the first 'max' number of files.