The Microsoft.JScript.IVsaScriptScope.RemoveItem and Microsoft.JScript.IVsaScriptScope.RemoveItemAtIndex methods dispose but do not remove the specified items. If disposed items remain in the list, any calls to AddItem() will result in an engine closed error.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.