P4Record is a dictionary-like object that provides a means of interpreting Perforce results.

Namespace:  P4API
Assembly:  p4api (in p4api)
Version: 1.0.0.0 (1.0.0)

Syntax

C#
public class P4Record

Remarks

The Perforce api provides "parsed" output in the form of key-value pairs. Keys are always strings (case sensitive). From the raw api, the values come in 3 flavors:
  • Simple strings.
  • List of strings.
  • Sparse multi-demensional list of strings.
  • P4.Net does not yet handle the third type (which only comes from certain output of p4 filelog).

    To access simple string values by key, use the Fields property (or the default indexer).

    To access lists of strings by key, use the ArrayFields property.

    Inheritance Hierarchy

    System..::.Object
      P4API..::.P4Record
        P4API..::.P4Form

    See Also