[This is preliminary documentation and is subject to change.]

Get a FormSpec of the specified form type.

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

Syntax

C#
public FormSpec GetFormSpec(
	Options options,
	string spectype
)
Visual Basic
Public Function GetFormSpec ( _
	options As Options, _
	spectype As String _
) As FormSpec
Visual C++
public:
FormSpec^ GetFormSpec(
	Options^ options, 
	String^ spectype
)

Parameters

options
Type: Perforce.P4..::..Options
spectype
Type: System..::..String

Return Value

Remarks


p4 help spec

spec -- Edit spec definitions (unsupported)

p4 spec [-d -i -o] type

Edit any type of specification: branch, change, client, depot,
group, job, label, spec, stream, trigger, typemap, or user. Only
the comments and the formatting hints can be changed. Any fields
that you add during editing are discarded when the spec is saved.

'p4 jobspec' is equivalent to 'p4 spec job', and any custom spec
(include the job spec) can be deleted with 'p4 spec -d type'.

See Also