JSValue  Conversion (JSValue to Int32)Awesomium.NET 1.7.6Awesomium.NET
Converts a JSValue to a 32-bit signed integer.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

public static explicit operator int (
	JSValue value
)

Parameters

value
Type: Awesomium.CoreJSValue
The value to convert.

Return Value

Type: Int32
The 32-bit signed integer represented by this JSValue.
Exceptions

ExceptionCondition
InvalidCastException The JSValue does not represent a number. (See IsNumber)
See Also

Reference