Gets the variable's string value.

 

   

Syntax
 

[C#]
string GetStringValue(string name)

 

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.
Throws Exceptions InvalidCastException: Thrown when the value is neither a string nor None.

 

   

Params
 
Name Description
name The name of the variable.
return The string value, or null if the value is None.

 

   

Notes
 
Gets the variable's string value.

 

   

Example
 
None.