Click or drag to resize

Options Class

A generic list of command options and values.
Options for the resolve command
Options for the stream command
Options for the streams command
Options for the istat command
Options for the branch command
Options for the branches command
Options for the label command
Options for the labels command
Options for the labels command
Options for the diff2 command
Options for the diff command
Options for the opened command
Options for the fstat command
Options for the files command
Options for the dirs command
Options for the print command
Options for the filelog command
Options for the annotate command
Options for the fixes command
Options for the grep command
Options for the integrated command
Options for the protects command
Options for the protects command (for maximum access level).
Options for the reviews command
Options for the triggers command
Options for the typemap command
Options for the protect command
Options for the counter command
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, String
    Perforce.P4Options
      More...

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2024.1.265.5426
Syntax
public class Options : Dictionary<string, string>

The Options type exposes the following members.

Constructors
  NameDescription
Public methodOptions
Construct an blank Options object
Public methodOptions(ChangeCmdFlags)
Change command options.
Public methodOptions(ClientCmdFlags)
Client command options.
Public methodOptions(CounterCmdFlags)
Initializes a new instance of the Options class
Public methodOptions(DepotCmdFlags)
Options for the Depot command
Public methodOptions(GetProtectionTableCmdFlags)
Initializes a new instance of the Options class
Public methodOptions(GetResolvedFilesCmdFlags)
Resolved command options.
Public methodOptions(GetStreamMetaDataCmdFlags)
Options for the istat command
Public methodOptions(GetTriggerTableCmdFlags)
Initializes a new instance of the Options class
Public methodOptions(GetTypeMapCmdFlags)
Initializes a new instance of the Options class
Public methodOptions(GroupCmdFlags)
Group command options.
Public methodOptions(InfoCmdFlags)
Options for the trust command
Public methodOptions(Int32)
Options for the lock command.
Public methodOptions(JobCmdFlags)
Options for job command.
Public methodOptions(LabelSyncCmdFlags)
Options for the labelsync command.
Public methodOptions(LicenseCmdFlags)
Options for the license command
Public methodOptions(LogoutCmdFlags)
Options for the logout command.
Public methodOptions(TrustCmdFlags)
Options for the trust command
Public methodOptions(UserCmdFlags)
User command options.
Public methodOptions(ChangeCmdFlags, ChangeListType)
Change command options.
Public methodOptions(DeleteFilesCmdFlags, Int32)
Options for the delete command.
Public methodOptions(FilesCmdFlags, Int32)
Options for the files command.
Public methodOptions(GetDepotDirsCmdFlags, String)
Initializes a new instance of the Options class
Public methodOptions(GetDepotFilesCmdFlags, Int32)
Initializes a new instance of the Options class
Public methodOptions(GetFileAnnotationsCmdFlags, String)
Initializes a new instance of the Options class
Public methodOptions(GetFileContentsCmdFlags, String)
Command options for GetFileContentsCmd()
Public methodOptions(GetReviewersCmdFlags, Int32)
Initializes a new instance of the Options class
Public methodOptions(GetSubmittedIntegrationsCmdFlags, String)
Initializes a new instance of the Options class
Public methodOptions(GroupsCmdFlags, Int32)
Groups command options.
Public methodOptions(Int32, FileType)
Options for the reopen command.
Public methodOptions(LabelCmdFlags, String)
Options for the Label Command
Public methodOptions(LoginCmdFlags, String)
Options for the login command.
Public methodOptions(ReconcileFilesCmdFlags, Int32)
Reconcile command options.
Public methodOptions(ResolveFilesCmdFlags, Int32)
Options for the resolve command
Public methodOptions(RevertFilesCmdFlags, Int32)
Revert command options.
Public methodOptions(TagFilesCmdFlags, String)
Options for the tag command.
Public methodOptions(UnlockFilesCmdFlags, Int32)
Unlock command options.
Public methodOptions(UsersCmdFlags, Int32)
Users command options.
Public methodOptions(AddFilesCmdFlags, Int32, FileType)
Options for the Add command.
Public methodOptions(BranchSpecCmdFlags, String, String)
Create Branch command options
Public methodOptions(DescribeChangelistCmdFlags, Int32, Int32)
Options for the Describe command
Public methodOptions(EditFilesCmdFlags, Int32, FileType)
Options for the edit command
Public methodOptions(FileLogCmdFlags, Int32, Int32)
Options for the filelog command.
Public methodOptions(FixJobsCmdFlags, Int32, String)
Fix command options.
Public methodOptions(GetFileHistoryCmdFlags, Int32, Int32)
Initializes a new instance of the Options class
Public methodOptions(JobsCmdFlags, String, Int32)
Jobs command options.
Public methodOptions(MoveFileCmdFlags, Int32, FileType)
Options for the move command.
Public methodOptions(StreamCmdFlags, String, String)
Create Options for a Stream command
Public methodOptions(UnshelveFilesCmdFlags, Int32, Int32)
Unshelve command options.
Public methodOptions(BranchSpecsCmdFlags, String, String, Int32)
Initializes a new instance of the Options class
Public methodOptions(ClientCmdFlags, String, String, Int32)
Client command options.
Public methodOptions(GetFileDiffsCmdFlags, Int32, Int32, Int32)
Initializes a new instance of the Options class
Public methodOptions(GetFileLineMatchesCmdFlags, Int32, Int32, Int32)
Initializes a new instance of the Options class
Public methodOptions(GetFixesCmdFlags, Int32, String, Int32)
Initializes a new instance of the Options class
Public methodOptions(GetMaxProtectionAccessCmdFlags, String, String, String)
Initializes a new instance of the Options class
Public methodOptions(GetProtectionEntriesCmdFlags, String, String, String)
Initializes a new instance of the Options class
Public methodOptions(ClientsCmdFlags, String, String, Int32, String)
Clients command options.
Public methodOptions(GetOpenedFilesCmdFlags, String, String, String, Int32)
Options for the opened command
Public methodOptions(LabelsCmdFlags, String, String, Int32, String)
Initializes a new instance of the Options class
Public methodOptions(StreamsCmdFlags, String, String, String, Int32)
Options for the Streams command
Public methodOptions(ChangesCmdFlags, String, Int32, ChangeListStatus, String, Int32)
Changes command options.
Public methodOptions(CopyFilesCmdFlags, String, String, String, Int32, Int32)
Copy command options.
Public methodOptions(GetDepotFileDiffsCmdFlags, Int32, Int32, String, String, String)
Initializes a new instance of the Options class
Public methodOptions(GetFileMetadataCmdFlags, String, String, Int32, String, String) Obsolete.
Options for the fstat command
Public methodOptions(IntegrateFilesCmdFlags, Int32, Int32, String, String, String)
Options for the integrate command.
Public methodOptions(LabelsCmdFlags, String, String, Int32, String, String)
Initializes a new instance of the Options class
Public methodOptions(MergeFilesCmdFlags, String, String, String, Int32, Int32)
Initializes a new instance of the Options class
Public methodOptions(StreamsCmdFlags, String, String, String, Int32, String)
Options for the Streams command
Public methodOptions(GetFileMetadataCmdFlags, String, String, Int32, String, String, String)
Initializes a new instance of the Options class
Public methodOptions(SyncFilesCmdFlags, Int32, Int32, Int32, Int32, Int32, Int32)
Sync command options.
Public methodOptions(ShelveFilesCmdFlags, Changelist, Int32, Int32, Int32, Int32, Int32, Int32)
Shelve command options.
Public methodOptions(SubmitFilesCmdFlags, Int32, Changelist, String, ClientSubmitOptions, Int32, Int32, Int32, Int32, Int32)
Submit command options
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, String.)
Public propertyCount (Inherited from DictionaryString, String.)
Public propertyItem (Inherited from DictionaryString, String.)
Public propertyKeys (Inherited from DictionaryString, String.)
Public propertyValues (Inherited from DictionaryString, String.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from DictionaryString, String.)
Public methodClear (Inherited from DictionaryString, String.)
Public methodContainsKey (Inherited from DictionaryString, String.)
Public methodContainsValue (Inherited from DictionaryString, String.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryString, String.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, String.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnDeserialization (Inherited from DictionaryString, String.)
Public methodRemove (Inherited from DictionaryString, String.)
Public methodToString
Dump an Options object as a string
(Overrides ObjectToString.)
Public methodToStringList
Return a StringList describing the options
Public methodTryGetValue (Inherited from DictionaryString, String.)
Top
Operators
Remarks

p4 help files

files -- List files in the depot

p4 files [ -a ] [ -A ] [ -e ] [ -m max ] file[revRange] ...
p4 files -U unloadfile ...

List details about specified files: depot file name, revision,
file, type, change action and changelist number of the current
head revision. If client syntax is used to specify the file
argument, the client view mapping is used to determine the
corresponding depot files.

By default, the head revision is listed. If the file argument
specifies a revision, then all files at that revision are listed.
If the file argument specifies a revision range, the highest revision
in the range is used for each file. For details about specifying
revisions, see 'p4 help revisions'.

The -a flag displays all revisions within the specific range, rather
than just the highest revision in the range.

The -A flag displays files in archive depots.

The -e flag displays files with an action of anything other than
deleted, purged or archived. Typically this revision is always
available to sync or integrate from.

The -m flag limits files to the first 'max' number of files.

The -U option displays files in the unload depot (see 'p4 help unload'
for more information about the unload depot).

See Also
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, String
    Perforce.P4Options
      Perforce.P4AddFilesCmdOptions
      Perforce.P4BranchCmdOptions
      Perforce.P4BranchesCmdOptions
      Perforce.P4ChangeCmdOptions
      Perforce.P4ChangesCmdOptions
      Perforce.P4ClientCmdOptions
      Perforce.P4ClientsCmdOptions
      Perforce.P4CopyFilesCmdOptions
      Perforce.P4CounterCmdOptions
      Perforce.P4CoutnerCmdOptions
      Perforce.P4DeleteFilesCmdOptions
      Perforce.P4DepotCmdOptions
      Perforce.P4DescribeCmdOptions
      Perforce.P4EditCmdOptions
      Perforce.P4FilelogCmdOptions
      Perforce.P4FilesCmdOptions
      Perforce.P4FixJobsCmdOptions
      Perforce.P4GetDepotDirsCmdOptions
      Perforce.P4GetDepotFileDiffsCmdOptions
      Perforce.P4GetDepotFilesCmdOptions
      Perforce.P4GetFileAnnotationsCmdOptions
      Perforce.P4GetFileContentsCmdOptions
      Perforce.P4GetFileDiffsCmdOptions
      Perforce.P4GetFileHistoryCmdOptions
      Perforce.P4GetFileLineMatchesCmdOptions
      Perforce.P4GetFileMetaDataCmdOptions
      Perforce.P4GetFixesCmdOptions
      Perforce.P4GetMaxProtectionAccessCmdOptions
      Perforce.P4GetOpenedFilesOptions
      Perforce.P4GetProtectionEntriesCmdOptions
      Perforce.P4GetProtectionTableCmdOptions
      Perforce.P4GetReviewersCmdOptions
      Perforce.P4GetStreamMetaDataCmdOptions
      Perforce.P4GetSubmittedIntegrationsCmdOptions
      Perforce.P4GetTriggerTableCmdOptions
      Perforce.P4GetTypeMapCmdOptions
      Perforce.P4GroupCmdOptions
      Perforce.P4GroupsCmdOptions
      Perforce.P4InfoCmdOptions
      Perforce.P4IntegrateFilesCmdOptions
      Perforce.P4JobCmdOptions
      Perforce.P4JobsCmdOptions
      Perforce.P4LabelCmdOptions
      Perforce.P4LabelsCmdOptions
      Perforce.P4LabelSyncCmdOptions
      Perforce.P4LicenseCmdOptions
      Perforce.P4LockCmdOptions
      Perforce.P4LoginCmdOptions
      Perforce.P4LogoutCmdOptions
      Perforce.P4MergeFilesCmdOptions
      Perforce.P4MoveCmdOptions
      Perforce.P4ReconcileCmdOptions
      Perforce.P4ReopenCmdOptions
      Perforce.P4ResolveCmdOptions
      Perforce.P4ResolvedCmdOptions
      Perforce.P4RevertCmdOptions
      Perforce.P4ShelveFilesCmdOptions
      Perforce.P4StreamCmdOptions
      Perforce.P4StreamsCmdOptions
      Perforce.P4SubmitCmdOptions
      Perforce.P4SyncFilesCmdOptions
      Perforce.P4TagCmdOptions
      Perforce.P4TrustCmdOptions
      Perforce.P4UnlockFilesCmdOptions
      Perforce.P4UnshelveFilesCmdOptions
      Perforce.P4UserCmdOptions
      Perforce.P4UsersCmdOptions