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: 2024.1.261.8274
Syntaxpublic BranchSpec(
string id,
string owner,
DateTime updated,
DateTime accessed,
string description,
bool locked,
ViewMap viewmap,
FormSpec spec,
string options
)
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
)
public:
BranchSpec(
String^ id,
String^ owner,
DateTime updated,
DateTime accessed,
String^ description,
bool locked,
ViewMap^ viewmap,
FormSpec^ spec,
String^ options
)
new :
id : string *
owner : string *
updated : DateTime *
accessed : DateTime *
description : string *
locked : bool *
viewmap : ViewMap *
spec : FormSpec *
options : string -> BranchSpec
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