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
    開啟標籤的擁有者 (可以是 Null)。

傳回值

類型:Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocument
開啟的 VersionControlLabelDocument。

.NET Framework 安全性

請參閱

參考

VersionControlLabelExt 類別

OpenLabel 多載

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間