Method | Description | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Returns True when sourceType is a String.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Returns True when destinationType is a String.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts a String in the short form like "omus" to a ReinstallModes enumeration.
|
|
ConvertTo ( ITypeDescriptorContext context, |
Converts a ReinstallModes to a short form String like "omus".
|
Method | Description | |
---|---|---|
ReinstallModesConverter ( ) : System | ||
TryParse ( string value, ReinstallModes &mode ) : bool |
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
sourceType | The type of the source object. | |
return | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
destinationType | The type of the destination object. | |
return | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
culture | The culture to use for conversion. | |
value | object | The |
return | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
culture | The culture to use for conversion. | |
value | object | The |
destinationType | The type of the destination object. | |
return | object |