C# 클래스 System.ComponentModel.EnumConverter

상속: TypeConverter
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
EnumConverter ( Type type ) : Microsoft.Win32
GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool

비공개 메소드들

메소드 설명
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
IsValid ( ITypeDescriptorContext context, object value ) : bool

메소드 상세

CanConvertFrom() 공개 메소드

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
리턴 bool

CanConvertTo() 공개 메소드

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
리턴 bool

ConvertFrom() 공개 메소드

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
리턴 object

EnumConverter() 공개 메소드

public EnumConverter ( Type type ) : Microsoft.Win32
type Type
리턴 Microsoft.Win32

GetStandardValues() 공개 메소드

public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
context ITypeDescriptorContext
리턴 StandardValuesCollection

GetStandardValuesExclusive() 공개 메소드

public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
리턴 bool

GetStandardValuesSupported() 공개 메소드

public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
리턴 bool