Méthode | Description | |
---|---|---|
Convert ( object value, |
Converts the value parameter to a boolean value.
|
|
ConvertBack ( object value, |
Converts a boolean value back to an enum value.
|
public Convert ( object value, |
||
value | object | The value of an enum that is to be converted. |
targetType | The type to which the value is to be converted. In this case it is always boolean. | |
parameter | object | A parameter that determines the value to which the value has to be equal to return true. |
language | string | The name of the language, so that parsing can be adjusted to cultural conventions. |
Résultat | object |
public ConvertBack ( object value, |
||
value | object | The value that is to be converted. |
targetType | The type to which the value is to be converted. In this case it is an enum type. | |
parameter | object | A parameter whose enum value is returned. |
language | string | The name of the language, so that parsing can be adjusted to cultural conventions. |
Résultat | object |