| MvValueAsAny Method |
Namespace: RW.Server.ComponentAssembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax public virtual Any AsAny(
bool direct = false,
Any def = null
)
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 = nullptr
)
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