Rogue Wave Server Component library for .NET Reference Guide
|
|
MvUserTypeAsBoolean Method |
Converts to a Boolean value.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
Parameters
- def
- Type: SystemBoolean
The default value to return if no conversion is possible.
Return Value
Type: BooleanThe converted Boolean representation for this type. The default implementation returns def.
This method is called by
AsBoolean(Boolean, Boolean) when the instance of
MvValue to which it applies contains an object
whose type is this user-defined type.