TFS API - 以编程方式显示标签对话框

TFS API - Display Label dialog programmatically

使用 TFS C# API,是否可以通过编程方式打开标签对话框 window? 理想情况下,我希望能够通过名称和范围调用标签,然后弹出以下内容: Label Dialog Box

我使用的是 TFS 2013,我的应用程序是独立的。

您需要使用 VersionControlLabelExt class in one VS Addin project. With the VersionControlLabelExt.OpenLabel 方法,您将打开一个新的标签文档 window,给定标签的名称、范围和所有者。

查看格兰特在此 link 中的回复,以获取有关如何开始的快速参考:

How can I open the TFS changeset details dialog view using a Visual Studio add-in?