EnumToDisplayNameConverter 類別

定義

將指定的值物件轉換成枚舉物件。

public abstract class EnumToDisplayNameConverter : System.ComponentModel.EnumConverter
type EnumToDisplayNameConverter = class
    inherit EnumConverter
Public MustInherit Class EnumToDisplayNameConverter
Inherits EnumConverter
繼承
EnumToDisplayNameConverter
衍生

建構函式

名稱 Description
EnumToDisplayNameConverter(Type)

將指定的值物件轉換成枚舉物件。

方法

名稱 Description
CanConvertFrom(ITypeDescriptorContext, Type)

將指定的值物件轉換成枚舉物件。

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

將指定的值物件轉換成枚舉物件。

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

將給定的值物件轉換為指定的目的類型。

適用於