| MvValueAsInt Method |
Converts to int.
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax public int AsInt(
bool direct = false,
int def = 0
)
Public Function AsInt (
Optional direct As Boolean = false,
Optional def As Integer = 0
) As Integer
public:
int AsInt(
bool direct = false,
int def = 0
)
Parameters
- direct (Optional)
- Type: SystemBoolean
If true, an exact type match is required. - def (Optional)
- Type: SystemInt32
The default result.
Return Value
Type:
Int32
The converted value.
Remarks
Equivalent to
(int)AsLong(direct,
def).
See Also