Share via


BuildEnumerationHelper.GetDisplayText Method (Object)

Gets the localized display text for known enumeration values (and the ToString value for others).

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

Syntax

'Declaration
Public Shared Function GetDisplayText ( _
    value As Object _
) As String
public static string GetDisplayText(
    Object value
)
public:
static String^ GetDisplayText(
    Object^ value
)
static member GetDisplayText : 
        value:Object -> string
public static function GetDisplayText(
    value : Object
) : String

Parameters

  • value
    Type: System.Object

    The value for which display text is returned.

Return Value

Type: System.String
The localized display text.

.NET Framework Security

See Also

Reference

BuildEnumerationHelper Class

GetDisplayText Overload

Microsoft.TeamFoundation.Build.Client Namespace