Click or drag to resize

FormSpec Class

Specifies structural and semantic metadata for form types.
Inheritance Hierarchy
SystemObject
  Perforce.P4FormSpec

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public class FormSpec

The FormSpec type exposes the following members.

Constructors
  NameDescription
Public methodFormSpec
Create an empty FormSpec
Public methodFormSpec(ListSpecField, DictionaryString, String, ListString, ListString, DictionaryString, String, DictionaryString, String, String) Obsolete.
Create a FormSpec
Public methodFormSpec(ListSpecField, DictionaryString, String, ListString, ListString, DictionaryString, String, DictionaryString, String, ListString, ListString, String)
Create a FormSpec
Top
Properties
  NameDescription
Public propertyComments
a single (possibly rather long) string (which may contain embedded newlines) containing comments to be optionally used in GUI or other representations of the form type.
Public propertyFieldMap
Map, keyed by SpecField name, containing suitable allowed values for specific form fields.
Public propertyFields
List of all SpecField objects for all fields defined for this Form type.
Public propertyFormats
List of "formats" for this form type.
Public propertyMaxwords
Public propertyOpenable
Public propertyPresets
Map, keyed by SpecField name, containing preset (default) values for specific form fields.
Public propertyValues
Map, keyed by SpecField name, containing suitable allowed values for specific form fields.
Public propertyWords
List of "words" for this form type.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFromSpecCmdTaggedOutput
Create a FormSpec from the tagged output of the 'spec' command
Public methodGetHashCode (Inherited from Object.)
Public methodGetSpecFieldDataType
Return the SpecFieldDataType associated with a key in a formspec
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also