Click or drag to resize

ScriptVariable Class



A variable declared by the script.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.ScriptingScriptVariable

Namespace:  Microsoft.CodeAnalysis.Scripting
Assembly:  Microsoft.CodeAnalysis.Scripting (in Microsoft.CodeAnalysis.Scripting.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class ScriptVariable

The ScriptVariable type exposes the following members.

Properties
  NameDescription
Public propertyIsReadOnly
True if the variable can't be written to (it's declared as readonly or a constant).
Public propertyName
The name of the variable.
Public propertyType
The type of the variable.
Public propertyValue
The value of the variable after running the script.
Top
See Also