Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.