메소드 | 설명 | |
---|---|---|
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object |
Converts the given object to the type of this converter, using the specified context and culture information.
|
|
ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
Converts the given value object to the specified type, using the specified context and culture information.
|
|
StringLookupConverter ( |
Initialize a new instance of the StringLookupConverter clas.
|
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object | ||
context | ITypeDescriptorContext | An ITypeDescriptorContext that provides a format context. |
culture | System | The CultureInfo to use as the current culture. |
value | object | The Object to convert. |
리턴 | object |
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
||
context | ITypeDescriptorContext | An ITypeDescriptorContext that provides a format context. |
culture | System | A CultureInfo object. If a null reference the current culture is assumed. |
value | object | The Object to convert. |
destinationType | The Type to convert the value parameter to. | |
리턴 | object |
public StringLookupConverter ( |
||
enumType | ||
리턴 | System |