Метод | Описание | |
---|---|---|
Initialise ( string value ) : void |
Initialises the current instance from a string containing a single value
|
|
Serialise ( ) : string |
Serialises the current instance to a string containing the selected value
|
|
ToString ( ) : string |
Метод | Описание | |
---|---|---|
SetInvalidValue ( string value ) : void |
Allows an invalid value to be explicitly set, bypassing the protection in the SelectedValue property setter. This is equivalent to calling the base implementation of Initialise but, as Initialise is virtual, this method should be preferred as it guarantees the correct behaviour in derived types |
public Initialise ( string value ) : void | ||
value | string | The serialised value |
Результат | void |
protected SetInvalidValue ( string value ) : void | ||
value | string | The value to set |
Результат | void |