EnumExtender.SetDisplayName Method

Registers the display name for the enum value.
Public Shared Sub SetDisplayName( _ 
ByVal value As Enum, _ 
ByVal name As String
)
This language is not supported or no code example is available.
public static void SetDisplayName( 
this Enum value
string name 
)
This language is not supported or no code example is available.

Parameters

value
Enum

The enum value.

name
string

The display name.

.NET Framework

Supported in: 4.8

In this article

Definition