The requested page is not available for the requested platform. You are viewing the content for Default platform.

EnumDescriptor.GetCaption(String) Method

Returns the display caption associated with a specified value of the enumeration represented by the EnumDescriptor.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public string GetCaption(
    string valueName
)
Public Function GetCaption(
    valueName As String
) As String

Parameters

Name Type Description
valueName String

A string representing the enumeration value whose corresponding display caption will be retrieved.

Returns

Type Description
String

A string representing the display caption associated with the specified value of the enumeration represented by the EnumDescriptor.

Remarks

Generally, there is no need to use this GetCaption method overload, as there is an overload which takes an enumeration value directly.

See Also