Share via


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)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function AddExternalLink ( _
    buildInformation As IBuildInformation, _
    displayText As String, _
    url As Uri _
) As IExternalLink
public static IExternalLink AddExternalLink(
    this IBuildInformation buildInformation,
    string displayText,
    Uri url
)
[ExtensionAttribute]
public:
static IExternalLink^ AddExternalLink(
    IBuildInformation^ buildInformation, 
    String^ displayText, 
    Uri^ url
)
static member AddExternalLink : 
        buildInformation:IBuildInformation * 
        displayText:string * 
        url:Uri -> IExternalLink 
public static function AddExternalLink(
    buildInformation : IBuildInformation, 
    displayText : String, 
    url : Uri
) : IExternalLink

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IExternalLink
The link node.

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).

.NET Framework Security

See Also

Reference

InformationNodeConverters Class

Microsoft.TeamFoundation.Build.Client Namespace