This documentation is archived and is not being maintained.

IActivationObject Interface

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

Defines methods for resolving scope. This interface is implemented by all objects that take part in a scope hierarchy.

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

public interface class IActivationObject

The IActivationObject type exposes the following members.

  NameDescription
Public methodGetDefaultThisObjectWhen implemented in a class, gets the current default scope. Either the contained object of a with statement scope, or the global scope.
Public methodGetFieldWhen implemented in a class, returns a field that has the specified name by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.
Public methodGetGlobalScopeWhen implemented in a class, gets the global scope by searching the scope hierarchy until it finds a scope that includes static variables, for example, a module scope.
Public methodGetLocalFieldWhen implemented in a class, gets the local declaration of a field that has the specified name. This is used at compile time for error checking.
Public methodGetMemberValueWhen implemented in a class, gets the value of the specified member by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.
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: