| MvValueAsAny Method |
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax public virtual Any AsAny(
bool direct = false,
Any def = default
)
Public Overridable Function AsAny (
Optional direct As Boolean = false,
Optional def As Any = Nothing
) As Any
public:
virtual Any AsAny(
bool direct = false,
Any def = Any()
)
Parameters
- direct (Optional)
- Type: SystemBoolean
If true, an exact type match is required. - def (Optional)
- Type: RW.Server.ComponentAny
The default result.
Return Value
Type:
Any
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.AsAny(def).
See Also