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.ObjectThe value for which display text is returned.
Return Value
Type: System.String
The localized display text.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.