Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a label.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function CreateLabel ( _
label As VersionControlLabel, _
itemSpecs As LabelItemSpec(), _
options As LabelChildOption, _
<OutAttribute> ByRef failures As Failure() _
) As LabelResult()
public LabelResult[] CreateLabel(
VersionControlLabel label,
LabelItemSpec[] itemSpecs,
LabelChildOption options,
out Failure[] failures
)
public:
array<LabelResult^>^ CreateLabel(
VersionControlLabel^ label,
array<LabelItemSpec^>^ itemSpecs,
LabelChildOption options,
[OutAttribute] array<Failure^>^% failures
)
member CreateLabel :
label:VersionControlLabel *
itemSpecs:LabelItemSpec[] *
options:LabelChildOption *
failures:Failure[] byref -> LabelResult[]
public function CreateLabel(
label : VersionControlLabel,
itemSpecs : LabelItemSpec[],
options : LabelChildOption,
failures : Failure[]
) : LabelResult[]
Parameters
label
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabelThe label definition to create or update.
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.LabelItemSpec[]The item specs included in the label.
options
Type: Microsoft.TeamFoundation.VersionControl.Client.LabelChildOptionOptions to handle existing items in a label.
failures
Type: array<Microsoft.TeamFoundation.VersionControl.Client.Failure[]%The list of errors.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
The created label.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.