BuildEnumerationHelper.GetDisplayTextValues Method
Gets an array of the localized display text values for a known enumeration (and the ToString values for others).
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Public Shared Function GetDisplayTextValues ( _
enumType As Type _
) As String()
public static string[] GetDisplayTextValues(
Type enumType
)
public:
static array<String^>^ GetDisplayTextValues(
Type^ enumType
)
static member GetDisplayTextValues :
enumType:Type -> string[]
public static function GetDisplayTextValues(
enumType : Type
) : String[]
Parameters
enumType
Type: System.TypeThe type of the enum.
Return Value
Type: array<System.String[]
The array of localized display text values.
.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.