Метод | Описание | |
---|---|---|
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.
|
|
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 ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
||
context | ITypeDescriptorContext | An |
culture | System | A |
value | object | The |
destinationType | The |
|
Результат | object |