A branch view specification in a Perforce repository.

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

Syntax

C#
public BranchSpec(
	string id,
	string owner,
	DateTime updated,
	DateTime accessed,
	string description,
	bool locked,
	ViewMap viewmap,
	FormSpec spec,
	string options
)
Visual Basic
Public Sub New ( _
	id As String, _
	owner As String, _
	updated As DateTime, _
	accessed As DateTime, _
	description As String, _
	locked As Boolean, _
	viewmap As ViewMap, _
	spec As FormSpec, _
	options As String _
)
Visual C++
public:
BranchSpec(
	String^ id, 
	String^ owner, 
	DateTime updated, 
	DateTime accessed, 
	String^ description, 
	bool locked, 
	ViewMap^ viewmap, 
	FormSpec^ spec, 
	String^ options
)

Parameters

id
Type: System..::..String
The branch spec name (read only).
owner
Type: System..::..String
The user who created this branch spec.
updated
Type: System..::..DateTime
The date this branch spec was last modified.
accessed
Type: System..::..DateTime
The date of the last command used with this spec.
description
Type: System..::..String
A description of the branch spec (optional).
locked
Type: System..::..Boolean
When true, permits only the owner to change the spec.
viewmap
Type: Perforce.P4..::..ViewMap
Lines mapping of one view of depot files to another.
spec
Type: Perforce.P4..::..FormSpec
Specifies structural and semantic metadata for form types.
options
Type: System..::..String
Flags to change the branch spec behavior.

See Also