Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在通过 C# 代码检查项目,我在workspace.Get(); 哪里获取集合中的所有项目。我想获得一个特定项目的最新版本。任何人都可以帮助我实现这一目标
workspace.Get();
您可以使用workspace.Get接受GetRequest对象的重载。将 to 的属性Itemspec设置为将获取操作的范围限定为特定的团队项目。GetRequest$/Project Name
workspace.Get
GetRequest
Itemspec
$/Project Name
也可以看看: