English 中文(简体)
我怎样才能在方案上获得一个工作项目“融合建设”的实地价值?
原标题:How can I programmatically get a workitem "integration build" field value
  • 时间:2012-05-25 12:00:36
  •  标签:
  • tfs-sdk
  • sdf

我目前已安装了编程器接口, 以便能在工作项目变更时检测到。 我注意到, 当将事件投放到一个工作项目变更的事件上时, 会被引用: 核心字段, 和被修改的字段。 然而, 当工作项目属于错误类型时, 我无法从工作项目中获取“ 集成构建” 字段, 因为工作项目以该工作项目为基础 。 我如何获得此字段的价值, 而不是不得不引用 Microsoft. TeamFoundation.WorkingTroupTracking.Client.dll, 并使用 GetService 函数 。

欢呼

赛博切

问题回答

Get the WorkTem 物件(取自其 ID), 使用 WorkTround。 项目属性(见 doc ),并附有字段的参考名称。





相关问题
read a .sdf (SQL Server CE) in php

I have a file called PhotoGallery.sdf and was wondering how to connect to this db with php, or if it is even possible? Maybe point me to the right documentation. I found query strings for this, but ...

Compare two .sdf files in .Net

I am working on windows application from where user will be able to get the backup of .sdf file and later user will be able to restore the .sdf file. Before file restoring file from my .Net ...

Database file .sdf does not update after closing application

I am creating a Desktop application using Microsoft Visual Studio .NET 2008. I am using a .sdf file as my database. My problem is that when I am making changes to my records (add new, deleted, updated)...

SDF file creation for window mobile 6.5

I create a vs 2005 project and a sdf file using ms sql server express 2005. And I try to connect it in MC65. I got this error The database file has been created by an earlier version of SQL ...

Binding WPF ComboBox in XAML - Why is it Empty?

I am trying to learn how to bind my simple database (.sdf) to a combobox. I created a dataset with my tables in it. I then dragged a table from the DataSource onto my control. There are no build ...

热门标签