Property Item
Item[String]
Gets or sets the value of a symbol in scope
Declaration
public T this[string name] { get; set; }
Parameters
public T this[string name] { get; set; }
String | name | name of the symbol |
Property Value
T | Value for the symbol |
Remarks
Getting a symbol value searches all scopes, starting with the current scope. Setting a symbol value will only set the value in the current scope. (e.g. if the value does not exist in the current scope a new entry is made for it in the current scope, even if some outer scope has the same name.
Exceptions
KeyNotFoundException | If the |