Partager via


UrlHelperExtensions.TfsLink Method

Namespace:  Microsoft.TeamFoundation.Build.Server.Rest
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function TfsLink ( _
    urlHelper As UrlHelper, _
    requestContext As TeamFoundationRequestContext, _
    locationId As Guid, _
    routeValues As Object _
) As String
public static string TfsLink(
    this UrlHelper urlHelper,
    TeamFoundationRequestContext requestContext,
    Guid locationId,
    Object routeValues
)
[ExtensionAttribute]
public:
static String^ TfsLink(
    UrlHelper^ urlHelper, 
    TeamFoundationRequestContext^ requestContext, 
    Guid locationId, 
    Object^ routeValues
)
static member TfsLink : 
        urlHelper:UrlHelper * 
        requestContext:TeamFoundationRequestContext * 
        locationId:Guid * 
        routeValues:Object -> string
public static function TfsLink(
    urlHelper : UrlHelper, 
    requestContext : TeamFoundationRequestContext, 
    locationId : Guid, 
    routeValues : Object
) : String

Parameters

Return Value

Type: System.String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UrlHelper. 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

UrlHelperExtensions Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace