InformationNodeConverters.AddExternalLink Method

Adds an external link to the specified build information object. Does not save to the server.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

public static IExternalLink AddExternalLink(
	this IBuildInformation buildInformation,
	string displayText,
	Uri url
)

Parameters

buildInformation
Type: Microsoft.TeamFoundation.Build.Client.IBuildInformation

The build information object to which the external link will be added.

displayText
Type: System.String

The display text for the link.

url
Type: System.Uri

The URL for the link.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBuildInformation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Show: