Sets the variable to a string or None.

 

   

Syntax
 

[C#]
void SetValue(string name, string value)
void SetValue(string name, bool value)
void SetValue(string name, int value)
void SetValue(string name, long value)
void SetValue(string name, ulong value)
void SetValue(string name, double value)

 

Throws Exceptions ObjectDisposedException: Thrown when this PythonScope has been disposed of.
Throws Exceptions ArgumentNullException: Thrown when name is null.
Throws Exceptions ArgumentException: Thrown when name is not a valid Python identifier.

 

   

Params
 
Name Description
name The name of the variable.
value The value of the variable. If it is null, None is used.

 

   

Notes
 
Sets the variable to a string or None.

 

   

Example
 
None.