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

Create a new label 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 Label CreateLabel(
	Label label
)
Visual Basic
Public Function CreateLabel ( _
	label As Label _
) As Label
Visual C++
public:
Label^ CreateLabel(
	Label^ label
)

Parameters

label
Type: Perforce.P4..::..Label
Label specification for the new label

Return Value

The Label object if new label was created, null if creation failed

See Also