Click or drag to resize

BranchSpec Constructor (String, String, DateTime, DateTime, String, Boolean, ViewMap, FormSpec, String)

A branch view specification in a Perforce repository.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.255.3501
Syntax
public BranchSpec(
	string id,
	string owner,
	DateTime updated,
	DateTime accessed,
	string description,
	bool locked,
	ViewMap viewmap,
	FormSpec spec,
	string options
)

Parameters

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