Click or drag to resize

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
)

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