VersionControlServer.CreateLabel 方法 (VersionControlLabel, array<LabelItemSpec[], LabelChildOption, array<Failure[]%)

创建一个标签。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
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
)

参数

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
创建的标签。

.NET Framework 安全性

请参阅

参考

VersionControlServer 类

CreateLabel 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间