Method | Description | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Returns whether this converter can convert from a string list to a StringCollection.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Returns true if this type converter can convert to the given type.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts the given object to a StringCollection.
|
|
ConvertTo ( ITypeDescriptorContext context, |
TypeConverter method implementation that converts an object of type StringCollection to an InstanceDescriptor or a string. If the source is not a StringCollection or the destination is not a string it forwards the call to TypeConverter.ConvertTo.
|
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | An ITypeDescriptorContext that provides the format context. |
sourceType | A Type that represents the type you want to convert from. | |
return | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | ITypeDescriptorContext |
destinationType | Type to convert to | |
return | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | An ITypeDescriptorContext that provides a format context. |
culture | The CultureInfo to use as the current culture. | |
value | object | The object to convert. |
return | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | ITypeDescriptorContext |
culture | ||
value | object | value to convert from |
destinationType | Type to convert to | |
return | object |