Get a BranchSpec from the branch name

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

Syntax

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

Parameters

branch
Type: System..::..String
branch name

Return Value

BranchSpec

See Also