N. Mao
N. Mao

Reputation: 509

adding a hyperlink to a workitem (not a link to another workitem)

How can I go about adding a hyperlink (not a link to another workitem) to a workitem in TFS (using the API)?

Upvotes: 2

Views: 3407

Answers (1)

Jeremy Thompson
Jeremy Thompson

Reputation: 65544

Hyperlink hl = new Hyperlink("http://microsoft.com");
hl.Comment = "Microsoft";

workItem.Links.Add(hl);

Reference

Upvotes: 6

Related Questions