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

Create a new branch in the repository.

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

Syntax

C#
public BranchSpec CreateBranchSpec(
	BranchSpec branch
)
Visual Basic
Public Function CreateBranchSpec ( _
	branch As BranchSpec _
) As BranchSpec
Visual C++
public:
BranchSpec^ CreateBranchSpec(
	BranchSpec^ branch
)

Parameters

branch
Type: Perforce.P4..::..BranchSpec
Branch specification for the new branch

Return Value

The Branch object if new branch was created, null if creation failed

See Also