| MvValue Constructor (Object, MvDataType) |
Initializes a new
MvValue from a value and a
target type.
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax public MvValue(
Object value = null,
MvDataType type = default
)
Public Sub New (
Optional value As Object = Nothing,
Optional type As MvDataType = Nothing
)
public:
MvValue(
Object^ value = nullptr,
MvDataType type = MvDataType()
)
Parameters
- value (Optional)
- Type: SystemObject
The value. - type (Optional)
- Type: RW.Server.ComponentMvDataType
The type of the value.
Exceptions Exception | Condition |
---|
ArgumentException |
If the value type is not consistent with the type. |
See Also