| MvValueAsUserValue 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 MvUserType AsUserValue(
Type type = null,
MvUserType def = null
)
Public Overridable Function AsUserValue (
Optional type As Type = Nothing,
Optional def As MvUserType = Nothing
) As MvUserType
public:
virtual MvUserType^ AsUserValue(
Type^ type = nullptr,
MvUserType^ def = nullptr
)
Parameters
- type (Optional)
- Type: SystemType
The requested type. - def (Optional)
- Type: RW.Server.ComponentMvUserType
The default result.
Return Value
Type:
MvUserType
If the match is precise, the contained value. Otherwise, and
if an exact type match is not required:
If the type is user-defined, the result of
asUserValue.asValue(type,def)
.
See Also