Rogue Wave Server Component library for .NET Reference Guide
|
|
MvValueAsChar Method |
Converts to char.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
Parameters
- direct (Optional)
- Type: SystemBoolean
If true, an exact type match is required. - def (Optional)
- Type: SystemChar
The default result.
Return Value
Type: CharIf 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.