Evaluates a Python expression and gets its integer value.

 

   

Syntax
 

[C#]
ulong EvalUInt64(string expr, in options)

 

Throws Exceptions ObjectDisposedException: Thrown when this PythonScope has been disposed of.
Throws Exceptions ArgumentNullException: Thrown when expr is null.
Throws Exceptions ArgumentException: Thrown when name is not a valid Python identifier.
Throws Exceptions InvalidCastException: Thrown when the result cannot be represented as a UInt64.
Throws Exceptions OverflowException: Thrown when the result is outsde the range of a UInt64.

 

   

Params
 
Name Description
expr A Python expression.
options Options for running Python code.
return The integer value of the result.

 

   

Notes
 
Evaluates a Python expression and gets its integer value.

 

   

Example
 
None.