This documentation is archived and is not being maintained.

IVsaScriptScope Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Defines methods for resolving scope. The global scope object of the VsaEngine implements this interface.

Namespace:  Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[ComVisibleAttribute(true)]
[GuidAttribute(L"ED4BAE22-2F3C-419a-B487-CF869E716B95")]
public interface class IVsaScriptScope : IJSVsaItem

The IVsaScriptScope type exposes the following members.

  NameDescription
Public propertyIsDirtyReturns a value indicating whether the current in-memory representation of the item differs from the persisted representation. (Inherited from IJSVsaItem.)
Public propertyItemTypeGets the specified object's type, as determined by the CreateItem method. (Inherited from IJSVsaItem.)
Public propertyNameSets or gets the name of the item. (Inherited from IJSVsaItem.)
Public propertyParentWhen implemented in a class, gets a reference to the parent object.
Top

  NameDescription
Public methodAddItemWhen implemented in a class, adds an item to the scope.
Public methodCreateDynamicItemWhen implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.
Public methodGetItemWhen implemented in a class, gets the item from the scope that is designated by the specified name.
Public methodGetItemAtIndexWhen implemented in a class, gets the item from the scope that is designated by the specified index value.
Public methodGetItemCountWhen implemented in a class, gets the number of items in the scope.
Public methodGetObjectWhen implemented in a class, gets a reference to the global scope.
Public methodGetOptionGets implementation-specific options for a script engine. (Inherited from IJSVsaItem.)
Public methodRemoveItem(IJSVsaItem)When implemented in a class, removes the specified IJSVsaItem object from the scope.
Public methodRemoveItem(String)When implemented in a class, removes the item that is designated by the specified name from the scope.
Public methodRemoveItemAtIndexWhen implemented in a class, removes the item that is designated by the specified index value from the scope.
Public methodSetOptionSets implementation-specific options for a script engine. (Inherited from IJSVsaItem.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: