| MvValueAsChar Method |
Converts to char.
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax public virtual char AsChar(
bool direct = false,
char def = ''
)
Public Overridable Function AsChar (
Optional direct As Boolean = false,
Optional def As Char = ""C
) As Char
public:
virtual wchar_t AsChar(
bool direct = false,
wchar_t def = L''
)
Parameters
- direct (Optional)
- Type: SystemBoolean
If true, an exact type match is required. - def (Optional)
- Type: SystemChar
The default result.
Return Value
Type:
Char
If the match is exact, the contained value. Otherwise, and if
an exact type match is not required:
If the type is user-defined, the result of
AsUserValue.AsChar(def).If the type is numeric (including
char),
true if different from
0),
false otherwise.Otherwise,
true if the value is not
null,
false otherwise.
See Also