VersionControlLabelExt.OpenLabel 方法 (String, String, String)

打开一个新标签文档窗口将该标签的名称、大小和所有者。

此方法会引发LabelNotFoundException或LabelNotUniqueException,以及其他功能。

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

语法

声明
Public Function OpenLabel ( _
    labelName As String, _
    labelScope As String, _
    labelOwner As String _
) As VersionControlLabelDocument
public VersionControlLabelDocument OpenLabel(
    string labelName,
    string labelScope,
    string labelOwner
)

参数

  • labelOwner
    类型:System.String
    打开标签的所有者(可能为空)

返回值

类型:Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocument
打开的VersionControlLabelDocument。

.NET Framework 安全性

请参见

参考

VersionControlLabelExt 类

OpenLabel 重载

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空间