This documentation is archived and is not being maintained.
VersionControlServer::CreateLabel Method (VersionControlLabel, array<LabelItemSpec>, LabelChildOption, array<Failure>%)
Visual Studio 2013
Creates a label.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: array<LabelResult^>^ CreateLabel( VersionControlLabel^ label, array<LabelItemSpec^>^ itemSpecs, LabelChildOption options, [OutAttribute] array<Failure^>^% failures )
Parameters
- label
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionControlLabel
The 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::LabelChildOption
Options 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.
- 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.
Show: