Get a BranchSpec from the branch name

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

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