메소드 | 설명 | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Returns whether this converter can convert the object to the specified type, using the specified context.
|
|
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.
|
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | An |
sourceType | A |
|
리턴 | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | An |
destinationType | A |
|
리턴 | bool |
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object | ||
context | ITypeDescriptorContext | An |
culture | System | The |
value | object | The |
리턴 | object |
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
||
context | ITypeDescriptorContext | An |
culture | System | A |
value | object | The |
destinationType | The |
|
리턴 | object |