Partager via


Extensions.GetNameToDisplay Method

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetNameToDisplay ( _
    requestContext As TeamFoundationRequestContext _
) As String
public static string GetNameToDisplay(
    this TeamFoundationRequestContext requestContext
)
[ExtensionAttribute]
public:
static String^ GetNameToDisplay(
    TeamFoundationRequestContext^ requestContext
)
static member GetNameToDisplay : 
        requestContext:TeamFoundationRequestContext -> string
public static function GetNameToDisplay(
    requestContext : TeamFoundationRequestContext
) : String

Parameters

Return Value

Type: System.String
Returns String.

Usage Note

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

Extensions Class

Microsoft.TeamFoundation.Git.Server Namespace