Microsoft.Scripting.ScopeStorage.DeleteValue C# (CSharp) Method

DeleteValue() public method

Deletes the named value from the scope optionally ignoring the case.
public DeleteValue ( string name, bool ignoreCase ) : bool
name string
ignoreCase bool
return bool
        public bool DeleteValue(string name, bool ignoreCase) {
            if (!HasVariable(name)) {
                return false;
            }
            return GetScopeVariable(name, ignoreCase).DeleteValue();
        }